News for hackers. Stuff that matters.
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by anchovieshat on Monday January 09, 2017 @07:32AM (#13355860)
[I'm the author] Q8 is a little tool I started as an experiment to visualize low level code as it manipulates raw data in memory, but has evolved into a full-fledged experimental environment for learning about low level programming. I'll be around to answer any questions. Thanks for looking at my project!

If you like this, you can catch my other projects at http://pentaquine.com. If you happen to be hiring I'd love to hear from you. I've recently moved to the West Coast and am currently looking for a new job.

Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by capex on Monday January 09, 2017 @08:58AM (#13356306)
Seems like a great project! Can this be used alongside the NAND to Tetris project[0] for understanding low level programming?

[0] http://www.nand2tetris.org/

Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by anchovieshat on Monday January 09, 2017 @09:15AM (#13356400)
While it isn't quite the same emulated machine, and therefore has a different instruction set, it does tread similar ground to Nand2Tetris's project 4, however it lacks an assembler, so you'd have to input directly in byte sequences.
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by vadiml on Monday January 09, 2017 @12:31PM (#13357984)
Great stuff... However in the sidebars containing disassembly for first 3 samples all adresses seems to be offset by +1 (or memory image contents is offset by -1)
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by anchovieshat on Monday January 09, 2017 @03:22PM (#13359464)
Wow, I'm not sure how I missed that. Thanks! I've pushed the fix up, and it should be live shortly.
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by zenojevski on Monday January 09, 2017 @07:17PM (#13361315)
Huge props for putting this all together!

The lessons and guides you published are definitely my key takeaway from this project. I think there is an opportunity for an integrated trove such as this to serve as a great learning platform; timed just right, as simple, minimal chips and vms are recently experiencing new enthusiasm.

So keep up the good work!

Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by kagaw on Monday January 09, 2017 @08:32AM (#13356177)
Thats a great tool in learning low level code. I really like to understand in machine level but i have no idea how machine works. Like what is a raw data memory. Character size in terms of memory availability. Can i get this with this tool or can you please recommend a resource to start learning machine level?
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by anchovieshat on Monday January 09, 2017 @08:39AM (#13356198)
Hey, there's a lot you can learn from Q8, but if you want to look at something deeper, you might want to look into x86 or ARM assembly.

https://ocw.mit.edu/courses/electrical-engineering-and-compu...

https://www.cl.cam.ac.uk/projects/raspberrypi/tutorials/os/

http://opensecuritytraining.info/IntroX86.html

Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by kagaw on Tuesday January 10, 2017 @05:53AM (#13363991)
thanks for those resources
Re:Show HN: Q8, an In-Browser VM for Learning and Visualizin... by palerdot on Monday January 09, 2017 @08:31AM (#13356168)
This tool is great. Good job.