Skip to content

Commit

Permalink
First Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rajmishra1995 committed Jun 6, 2022
0 parents commit 77e77d7
Show file tree
Hide file tree
Showing 16 changed files with 431 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
37 changes: 37 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404 Page not found | Raj Mishra</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />

</head>

<body>
<nav>
<ul class="menu">

<li><a href="/">home</a></li>

<li><a href="/blog/">blog</a></li>

<li><a href="https://github.com/lordphoenix/">github</a></li>

<li><a href="/resume.pdf">resume</a></li>

</ul>
<hr/>
</nav>


404 NOT FOUND

<footer>


</footer>
</body>
</html>

47 changes: 47 additions & 0 deletions blog/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blog | Raj Mishra</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />

</head>

<body>
<nav>
<ul class="menu">

<li><a href="/">home</a></li>

<li><a href="/blog/">blog</a></li>

<li><a href="https://github.com/lordphoenix/">github</a></li>

<li><a href="/resume.pdf">resume</a></li>

</ul>
<hr/>
</nav>

<div class="article-meta">
<h1><span class="title">Blog</span></h1>


</div>

<main>
<ul>
<li>2021/08/20 <a href="/compiled-vs-interpreted">Compiled vs Interpreted</a></li>
</ul>

</main>

<footer>


</footer>
</body>
</html>

41 changes: 41 additions & 0 deletions categories/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Categories | Raj Mishra</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />

</head>

<body>
<nav>
<ul class="menu">

<li><a href="/">home</a></li>

<li><a href="/blog/">blog</a></li>

<li><a href="https://github.com/lordphoenix/">github</a></li>

<li><a href="/resume.pdf">resume</a></li>

</ul>
<hr/>
</nav>


<h1>Categories</h1>

<ul class="terms">

</ul>

<footer>


</footer>
</body>
</html>

10 changes: 10 additions & 0 deletions categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on Raj Mishra</title>
<link>https://lordphoenix.github.io/categories/</link>
<description>Recent content in Categories on Raj Mishra</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://lordphoenix.github.io/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>
53 changes: 53 additions & 0 deletions compiled-vs-interpreted/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Compiled vs Interpreted | Raj Mishra</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />

</head>

<body>
<nav>
<ul class="menu">

<li><a href="/">home</a></li>

<li><a href="/blog/">blog</a></li>

<li><a href="https://github.com/lordphoenix/">github</a></li>

<li><a href="/resume.pdf">resume</a></li>

</ul>
<hr/>
</nav>

<div class="article-meta">
<h1><span class="title">Compiled vs Interpreted</span></h1>

<h2 class="date">2021/08/20</h2>
</div>

<main>
<p>With the growing popularity of scripting languages such as Python and Javascript I found it very interesting to look at the differences between a compiled and an interpreted languages and share my knowledge with you all.</p>
<p>Both compiled and interpreted languages are quite old in the system python being the latest and apparently the most popular one. Few of the legacy compiled languages are C, C++, BASIC, COBOL and few legacy scripted languages are Ruby, Bash, PHP. Before diving deep into the context of the topic I would like to revise the basic fifth grade difference between a compiler and an interpreter; compiler reads the entire program at once and interpreter reads the program line by line. So is that it? That was the only difference between a compiled language and and interpreted language? Obviously No or else I wouldn&rsquo;t be writing this piece :-p</p>
<p>So in order to compare the difference I&rsquo;ll mostly be taking C/C++ as an example for compiled language and Python for an interpreted type language. With this I&rsquo;ll first start by giving some real world examples where C/C++ and Python are currently being used. If you look closely all programmes that needs to run closely to the machine (processor) is written in C/C++ such as operating system, interpreters, driver softwares whereas the more advanced applications like a web service or running Machine Learning models or writing client side code are being done in Python, JS.</p>
<p>So now the question arises why do we do so? Why can&rsquo;t we write python for machine level codes or C++ to write client side web code. The major reason is Python or any interpreted language requires an additional platform to execute the code namely the interpreter which in itself is written in C or C++ in most of the cases. For C/C++ we use a compiler which is responsible for converting the piece of code to a machine level code which you would have seen as a .o file in case you ever used C/C++. Now this is the reason for one of the major difference in the execution time of both kind of languages, compiled languages performing better than the interpreted ones. Once a piece of code is already compiled to a machine level code it doesn&rsquo;t needs to do much in order to produce the output. However in case of interpreted languages, piece of code gets converted to machine level code during run time, this also means that every time you try to run the same program it will be doing all the steps from the beginning, such is not the case with compiled languages.</p>
<p>If compiled languages is such a charm then why isn&rsquo;t everyone going for the same, the reason is simple it totally depends on your needs and application. Since the past four or five years python has seen a real spike in its usage becoming the 2nd most popular language (just after JS, another scripted language), why is it so? The reason beign the ease to learn. Most of the people who knows how to code are not designing or enhancing operating systems or writing system softwares but many are writing web services, desigin web applications and dont really need to learn C/C++.</p>
<p>All these being said can we conclude what type of programming language is better? Definitely No. So it all boils down to what kind of application are you looking for and how much time do you have. If you have sufficient amount of time then I would highly recommend to start with C/C++ as your first prgramming language, you might feel a bit frustrated or even curse me for advising this but trust me you&rsquo;ll not regret this. I say this because with C/C++ you need to implement most of the functions by yourself unlike python where you just focus on writing small amount of code. However if you&rsquo;re goals are short and you do not have sufficient time in hand do go for scripted languages and the most popular one i.e. Python.</p>
<p>To end with I would like to talk about Golang, this is a programming language which is much easy to learn compare to C/C++ but the performance is near to them. Developed by Goolge Golang today is primarily being used to write web services replacing flask and django in the field at a very high rate.</p>
<p>Thanks for reading this article, do share your views by emailing me at &lsquo;rajmishra1995 <em>at</em> gmail <em>dot</em> com&rsquo; .</p>
<hr>

</main>

<footer>


</footer>
</body>
</html>

7 changes: 7 additions & 0 deletions css/fonts.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
body {
font-family: Optima, Candara, Calibri, Arial, sans-serif;
}
code {
font-family: "Lucida Console", Monaco, monospace;
font-size: 85%;
}
51 changes: 51 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
body {
max-width: 800px;
margin: auto;
padding: 1em;
line-height: 1.5em;
}

/* header and footer areas */
.menu { padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
text-decoration: none;
background: #eee;
padding: 5px;
border-radius: 5px;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }
footer a { text-decoration: none; }
hr {
border-style: dashed;
color: #ddd;
}

/* code */
pre {
border: 1px solid #ddd;
box-shadow: 5px 5px 5px #eee;
padding: 1em;
overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }
blockquote {
background: #f9f9f9;
border-left: 5px solid #ccc;
padding: 3px 1em 3px;
}

table {
margin: auto;
border-top: 1px solid #666;
border-bottom: 1px solid #666;
}
table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee; }
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
75 changes: 75 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<meta name="generator" content="Hugo 0.87.0" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Home | Raj Mishra</title>
<link rel="stylesheet" href="/css/style.css" />
<link rel="stylesheet" href="/css/fonts.css" />

</head>

<body>
<nav>
<ul class="menu">

<li><a href="/">home</a></li>

<li><a href="/blog/">blog</a></li>

<li><a href="https://github.com/lordphoenix/">github</a></li>

<li><a href="/resume.pdf">resume</a></li>

</ul>
<hr/>
</nav>




<h1 id="raj-mishra">Raj Mishra</h1>
<p>I&rsquo;m a MS CS student in Erik Jonsson School of Engineering and Computer Science at The University of Texas at Dallas. Before this I was working at Société Générale as a Specialist Software Engineer looking over ELIOT (a large scale database system which stores all the equity derivative trades executed at SocGen).</p>
<p>I&rsquo;ve a keen interest in Mathematics and applications of the same. Recently I found myself exploring stuff about Machine Learning and Neural Network and understanding further about the core underlying concept of the same. <em>I don&rsquo;t believe in blindly using some library without understanding the core implementation.</em> I would like to work in the field of software development with a blend of data science in it.</p>
<h2 id="interests">Interests</h2>
<p>I tend to enjoy reading and learning new things (<em>not just academic but random stuff as well, like did you know 1 + 2 + 3 + &hellip; + inf = -1/12 - explanation <a href="https://youtu.be/w-I6XTVZXww">here</a></em>).<br>
Apart from academia related things I spend my time listening to music (<em>rock, metal, r&amp;b</em>) and using youtube as my primary source of entertainment.<br>
Few channels on youtube I highly recommend :</p>
<ol>
<li><a href="https://www.youtube.com/user/numberphile">Numberphile</a></li>
<li><a href="https://www.youtube.com/user/computerphile">Computerphile</a></li>
<li><a href="https://www.youtube.com/user/lexfridman">Lex Fridman</a></li>
<li><a href="https://www.youtube.com/user/voxdotcom">Vox</a></li>
</ol>
<p>Apart from this I mostly browse Twitter (<a href="https://twitter.com/rajmishra1995"><em>@rajmishra1995</em></a>) and Reddit as my primary social media account.</p>
<h2 id="contact">Contact</h2>
<ul>
<li>raj.mishra <em>[at]</em> utdallas <em>[dot]</em> edu</li>
<li>rajmishra1995 <em>[at]</em> gmail <em>[dot]</em> com</li>
<li>LinkedIn (<a href="https://www.linkedin.com/in/rajmishra1995/"><em>@rajmishra1995</em></a>)</li>
</ul>
<h2 id="public-key">Public Key</h2>
<ul>
<li><a href="/pubkey.asc">pubkey.asc</a></li>
<li>gpg –-keyserver keyserver.ubuntu.com –-recv-key DCEEAA8121FA9A025EC8BBF6FE6BEFAA3104DDCD</li>
</ul>
<h2 id="latest-posts">Latest Posts</h2>
<ul>
<li>2021/08/20 <a href="/compiled-vs-interpreted">Compiled vs Interpreted</a></li>
</ul>


<ul>



</ul>

<footer>


</footer>
</body>
</html>

29 changes: 29 additions & 0 deletions index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Home on Raj Mishra</title>
<link>https://lordphoenix.github.io/</link>
<description>Recent content in Home on Raj Mishra</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://lordphoenix.github.io/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Compiled vs Interpreted</title>
<link>https://lordphoenix.github.io/compiled-vs-interpreted/</link>
<pubDate>Fri, 20 Aug 2021 00:00:00 +0000</pubDate>

<guid>https://lordphoenix.github.io/compiled-vs-interpreted/</guid>
<description>With the growing popularity of scripting languages such as Python and Javascript I found it very interesting to look at the differences between a compiled and an interpreted languages and share my knowledge with you all.
Both compiled and interpreted languages are quite old in the system python being the latest and apparently the most popular one. Few of the legacy compiled languages are C, C++, BASIC, COBOL and few legacy scripted languages are Ruby, Bash, PHP.</description>
</item>

<item>
<title>Blog</title>
<link>https://lordphoenix.github.io/blog/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

<guid>https://lordphoenix.github.io/blog/</guid>
<description> 2021/08/20 Compiled vs Interpreted </description>
</item>

</channel>
</rss>
14 changes: 14 additions & 0 deletions pubkey.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----

mDMEYS5iKhYJKwYBBAHaRw8BAQdAAyIkC/Bhfl9Kcwx5r4hn8YAzHtF/GTDalPhV
oIVG7660JFJhaiBNaXNocmEgPHJham1pc2hyYTE5OTVAZ21haWwuY29tPoiaBBMW
CgBCFiEE3O6qgSH6mgJeyLv2/mvvqjEE3c0FAmEuYioCGwMFCQPCZwAFCwkIBwID
IgIBBhUKCQgLAgQWAgMBAh4HAheAAAoJEP5r76oxBN3NTusBAOmEhmF7uJtBRM6b
cYzRwJmKvn6tBhFWqiwQdts1srjwAP9EpT4Hr1l9g+hAKybR3Q2lfE6Sjrmp6BuD
qZMbQGweAbg4BGEuYioSCisGAQQBl1UBBQEBB0DDotiauBKaWTuLI6MAlwKMSA5m
WK5PUhGZw3PGxXolKwMBCAeIfgQYFgoAJhYhBNzuqoEh+poCXsi79v5r76oxBN3N
BQJhLmIqAhsMBQkDwmcAAAoJEP5r76oxBN3N2KcBAPYl+wtVkf2r/CUZBWp5/y3i
5XArz5qLmVg7k74oFMVtAPoD6B2TcZozQ6+J3mhUTC8QYNCiwRnProChGOK4GSSj
CA==
=MTdB
-----END PGP PUBLIC KEY BLOCK-----
Binary file added resume.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://lordphoenix.github.io/compiled-vs-interpreted/</loc>
<lastmod>2021-08-20T00:00:00+00:00</lastmod>
</url><url>
<loc>https://lordphoenix.github.io/blog/</loc>
</url><url>
<loc>https://lordphoenix.github.io/categories/</loc>
</url><url>
<loc>https://lordphoenix.github.io/</loc>
</url><url>
<loc>https://lordphoenix.github.io/tags/</loc>
</url>
</urlset>
Loading

0 comments on commit 77e77d7

Please sign in to comment.