On 29.01.2015 21:32, ISHIKAWA, Chiaki wrote: > On 2015/01/12 22:46, Philip Chee wrote: >> "" >> One large difference between C and most other programming languages is >> that in C, you have to handle memory yourself rather than having a >> garbage collector do it for you. Ensuring that memory is allocated at >> the correct moment is not very difficult (and something that needs to be >> done manually in pretty much every language); the hard part is to ensure >> that enough memory is allocated, and to ensure that the memory is >> deallocated when it is no longer in use. >> >> There are several techniques available for memory management in C. Many >> of them are used in NetHack 3.4.3; and even more are used somewhere in >> NetHack 4. In this blog post, I'd like to look at them and discuss their >> advantages and disadvantages. I'm mostly concerned about correctness, >> rather than efficiency, here; that means that unless the performance >> difference is very large, I care more about clean code than I do about >> fast code. >> "" >> >> <http://nethack4.org/blog/memory.html> >> >> Phil >> > > Nethack? That nethack? > I looked at the web page. > Yes, *that* nethack. > > Do people still play it? It seems so > and on a UTF-8 capable terminal (?) > We have come a long way from vt100.
FWIW, Nethack4 is actually not the true nethack, which lives on nethack.org and is still working fine (e.g. public telnet servers on nethack.alt.org). Shameless pitch: I am currently struggling (but making _some_ progress) to port nethack to the web with emscripten :-) https://github.com/freddyb/nethack-3.4.3-js I'll now put on a dunce cap of +2 shame for allowing this thread to diverge into off-topic and try not to comment any further :D _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform