4 ms·
This may be confirmation bias but I feel like since the Megaprocessor thread[1] I'm noticing an increase in hardware-simulation related posts. Can't think of th
by clusmore 10y ago
This may be confirmation bias but I feel like since the Megaprocessor thread[1] I'm noticing an increase in hardware-simulation related posts. Can't think of them all off the top of my head, but see also:
* Nand2Tetris[2]
[1] https://news.ycombinator.com/item?id=12317217 https://news.ycombinator.com/item?id=12317217
[2] https://news.ycombinator.com/item?id=5888705 https://news.ycombinator.com/item?id=5888705
- mbad0la 10y agoOh these were great! I didn't know about them though. My project's inspiration is due to the fact that I love JS and had a computer system architecture course wherein I learnt VHDL. I felt that the NodeJS Events API could probably help me simulate a `signal` driven system and thus, I started experimenting :)
- aceperry 10y agoSince nodejs is single threaded, you'll get the best results with synchronous logic. Even asynchronous systems are difficult to design in real life, so it's not a bad idea to use nodejs.
- mbad0la 10y agoYeah, using events do offer an amazing async behaviour. Thus,the I/O arguments of every hardware component are extensions to EventEmitter, resulting in quite an amazing simulation.