Readit News logoReadit News
return_0e commented on Firefox Browser Ported to HaikuOS   discuss.haiku-os.org/t/pr... · Posted by u/return_0e
return_0e · a year ago
I can't change the link now but this should be the correct link to the post: https://discuss.haiku-os.org/t/progress-on-porting-firefox/1...
return_0e commented on Beating C with one line of Brainfuck   kiwec.net/blog/posts/beat... · Posted by u/pmontra
klyrs · 6 years ago
Marvelous. Anybody got an optimizing malbolge compiler?
return_0e · 6 years ago
Not an optimising one (yet) but a safe implementation of a malbolge interpreter written in Rust, which can run malbolge programs. Just for fun.

https://github.com/return/malbolge

return_0e commented on GNU Compiler Collection Internals [pdf]   gcc.gnu.org/onlinedocs/gc... · Posted by u/rvz
4ad · 6 years ago
I have written the Go arm64 and sparc64 compilers, as well as several other proprietary production compilers for several languages.

The Dragon Book is the best, for sure, and in my opinion essential material. Many people find its style too dry. It's basically a reference, not a tutorial. If you want something more hands on, I recommend this book about LCC[1]. It covers LCC, which is a C compiler. It's not a generic book about writing compilers, but I believe to be very useful anyway because it's very hands on. The current version of LCC is here[2]: Not sure if you can regenerate the book out of the current code or not (LCC is written in literate programming style, and the book used to be just the literate part).

[1] A Retargetable C Compiler: Design and Implementation (Addison-Wesley, 1995, ISBN 0-8053-1670-1)

[2] https://github.com/drh/lcc

return_0e · 6 years ago
Yes, I find that The Dragon Book to be a fundamental reference in my university days of studying compilers. Even so, many sections of it are still relevant to this day.

Also, I think I might have seen your name before whilst looking at the Solaris port of Go years back. Mind you, I'm looking at bringing Golang to Haiku (0) with similar changes like Solaris and Windows.

(0) https://github.com/golang-haiku/go/tree/golang-1.11-haiku

return_0e commented on Show HN: distri: a Linux distribution to research fast package management   michael.stapelberg.ch/pos... · Posted by u/secure
return_0e · 6 years ago
This is very interesting as this is almost identical to how the Haiku Operating System does package management using their own packaging format (hpkg) which uses packagefs. [0] [1]

This format is used more than just to package applications, but to update the whole OS in a consistent manner [2] as it is also versioned in with shared-libraries and this was implemented in 2013.

[0] - https://www.haiku-os.org/blog/zooey/2011-01-08_package_manag...

[1] - https://www.haiku-os.org/guides/daily-tasks/install-applicat...

[2] - https://www.haiku-os.org/blog/bonefish/2011-06-20_package_ma...

u/return_0e

KarmaCake day848September 2, 2014
About
[ my public key: https://keybase.io/return; my proof: https://keybase.io/return/sigs/h3qu1Dsu0pfzOTaYFmVrKiZu6j8Y39IzW63uesY2zDU ]
View Original