News for hackers. Stuff that matters.
Re:Show HN: Demo of Wiki and Forum coded in C under 80k by hardwaresofton on Friday December 04, 2015 @03:11AM (#10675214)
Not trying to be snarky, but if the goal was to show why you shouldn't do something like this, you've succeeded.

Would you consider rewriting something like this in rust or go, and doing a comparison? I think you would have found things to combat XSS in either of those languages (safe templating), would be interested to see the differences... And if any of those languages deliver on their promise to be safer than C

Re:Show HN: Demo of Wiki and Forum coded in C under 80k by ronsor on Friday December 04, 2015 @12:24PM (#10677614)
rust & go do not produce small enough executables for my use case. atleast i didn't do it using shell scripts.
Re:Show HN: Demo of Wiki and Forum coded in C under 80k by hardwaresofton on Friday December 04, 2015 @01:00PM (#10677875)
Have you taken a look at dynamically linked rust/go? Also, go 1.6 is going to have dynamic linking also.

http://stackoverflow.com/questions/29008127/why-are-rust-exe...

https://golang.org/doc/go1.5#compiler