• Main Website
  • Other blogs: myPUBGUIDE
  • My Health
  • Ghost Pubs
  • Random
  • Archive
  • RSS
  • Ask a question

Carnotaurus on Development and more!

'\x3ciframe width=\x22500\x22 height=\x22281\x22 src=\x22http://www.youtube.com/embed/796KD4SNzwE?wmode=transparent\x26autohide=1\x26egm=0\x26hd=1\x26iv_load_policy=3\x26modestbranding=1\x26rel=0\x26showinfo=0\x26showsearch=0\x22 frameborder=\x220\x22 allowfullscreen\x3e\x3c/iframe\x3e'

ideasatrandom:

(via The Commodore 64 Is 30 Years Old | TechCrunch)

And I still remember 6510

    • #6510 assembler
  • carnotaurus Avatar Posted by carnotaurus
  • 1 year ago > ideasatrandom
  • 3
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Common Language Runtime observations

Excellent, I’ve just read as much as I want to read around Common Language Runtime for the time being. I learned a few interesting bits and pieces:

Firstly, assemblies can be compiled ahead of time (rather than interpreted at runtime, just-in-time fashion). However, there are massive limitations to using this, such as one cannot use virtual functions (which I use everywhere as one should in OOP). So, to compile-ahead may only apply to certain code assemblies. Re-architecting could make more code more compile-ahead friendly but the overhead of doing this might not be worthwhile.

Secondly, I am not about to confuse bytecode with assembler here; however, the CIL mode of execution is different to how say an assembly language like 6510 works. Here is a CIL example to add two locations together:

ldloc.0
ldloc.1
add
stloc.0 // a = a + b or a += b;

Here is a 6510 example to do the same thing:

lda $1000
clc
adc $1001
sta $1000
// a = a + b or a += b;

In short, each line of code in 6510 has a greater degree of autonomy than with CIL.With CIL the previous lines of code matter in that these are used as parameters for the add instruction, despite that it is not explicitly intuitive to the reader from its notation.

    • #6510 assembler
    • #Common Language Runtime
    • #CIL
    • #OOP
    • #compile-ahead
    • #bytecode
  • carnotaurus Avatar Posted by carnotaurus
  • 2 years ago
  • 9
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

Carnotaurus on Development and more!

About

Avatar It's Philip Carney, a Technical Lead for a Public Limited Company in Greater Manchester. The main technologies I use are ASP.NET MVC, C#, and JavaScript. As a child, I began writing 6510 assembler in 1984; decades later, I still enjoy programming.

Me, Elsewhere

  • @ghost_pubs on Twitter
  • Facebook Profile
  • Google
  • Linkedin Profile

Twitter

loading tweets…

I Dig These Posts

See more →

Top

  • RSS
  • Random
  • Archive
  • Ask a question
  • Mobile

Carnotaurus 2013.

Effector Theme by Pixel Union