Stories
Slash Boxes
Comments

SoylentNews is people

posted by on Wednesday January 11 2017, @03:31AM   Printer-friendly
from the assembly-made-easy dept.

Have you ever wondered what really goes on when your computer takes a higher-level language, like Javascript or C, and turns it into something it can read? Quine8 (Q8) is a simple virtual machine that takes the most basic building block a computer can operate on, bytecode and runs it at a fraction of the speed of a real CPU, allowing you to watch it run each step of the way.


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Informative) by Anonymous Coward on Wednesday January 11 2017, @03:49AM

    by Anonymous Coward on Wednesday January 11 2017, @03:49AM (#452353)

    Have you ever wondered what really goes on when your computer takes a higher-level language, like Javascript or C, and turns it into something it can read?

    No.

    I disassembled an executable just yesterday to make sure the compiler had optimized my code in the way I wanted.

    Low level machine code is not magical. You should read it sometime, to see exactly what the CPU is being instructed to do.

    Starting Score:    0  points
    Moderation   +3  
       Informative=3, Total=3
    Extra 'Informative' Modifier   0  

    Total Score:   3  
  • (Score: 2) by opinionated_science on Wednesday January 11 2017, @12:01PM

    by opinionated_science (4031) on Wednesday January 11 2017, @12:01PM (#452466)

    this. I rarely write assembler, but in science getting the absolute best performance is often required...

    I worked on some GCC/GPU stuff last year, where getting the assembler proved to be important for the diagnosing the (incorrect) maths!

  • (Score: 0) by Anonymous Coward on Wednesday January 11 2017, @04:41PM

    by Anonymous Coward on Wednesday January 11 2017, @04:41PM (#452550)

    i have, because I got sick of their shit tracking me. they were reading more about me and required stuff to set tracking cookies before I even agreed to a eula. or when their privacy policies say 'we do not honor do not track' stuff because its too hard, and yet have 30 different javascripts running? I didn't need javascript to state my do not track preferences, and yet I have to rely on disabling java script to enforce it.

    Now I review all of that, because I don't want my browser or computer running what I didn't indend for it to-- or I don't permit it at all. thank you noscript! So many sites run faster now!