Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nils-m-holm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
nils-m-holm
3y ago
Thanks! I will keep it in mind!
62.
▲
by
nils-m-holm
3y ago
> Long story short, I'd love to see you advertise some more. Let's see. I have had a look at Mastodon and all I see at the moment is a wall of random distractions. Maybe I am missing something, though. I will investigate furthe
63.
▲
by
nils-m-holm
3y ago
I see. Thanks for the explanation and the links! Unfortunately I pretty much do not know what Twitter is, either. So I looked at the instances (?) you suggested and pretty much saw a doom-scrolling wall of random postings, which I find exha
64.
▲
by
nils-m-holm
3y ago
I tried that some time ago, but do not seem to be compatible with all the business stuff. Thanks anyway! :)
65.
▲
by
nils-m-holm
3y ago
Thank you, but I do not even know what Mastodon or the Fediverse are. :) Could you point me to some resources that would get me started? Preferably to something for the social media-illiterate! Which software to use (on BSD), where to regi
66.
▲
by
nils-m-holm
3y ago
> fwiw, I think you commented it very nicely; Thanks, I thought so, too, but I can also understand that the comments are not very helpful, if you know nothing about linkers, paging, and object files. I think I adopted IE/ELSE from B
67.
▲
by
nils-m-holm
3y ago
> under each headline, it explains a concept from the ground up, no knowledge required. Like "the syntax of a language is...". But just a few sentences in, advanced topics are touched, like assembly instructions, not explained.
68.
▲
by
nils-m-holm
3y ago
In one of my other compiler books ( http://t3x.org/t3x/book.html ) I just use a template for the ELF header, but I still think it adds too much complexity. One reader complained about it.
69.
▲
by
nils-m-holm
3y ago
Sure, no problem :)
70.
▲
by
nils-m-holm
3y ago
I have multiple sources of income, but book revenues are the biggest one. The area I live in is a rather expensive one, but I pay no rent, which helps. By the standard of our country I qualify as "poor", but I do not mind much. A
71.
▲
by
nils-m-holm
3y ago
My personal perspective is that computing has become much more complicated than necessary in the past decades. Of course abstraction will always create complexity, and some of that can hardly be avoided, but in computing these days complexi
72.
▲
by
nils-m-holm
3y ago
Oops, good catch. :) Thank you!
73.
▲
by
nils-m-holm
3y ago
Thank you! Books are my biggest source of income, but "big" is relative here: I am earning about $500 per month in revenues. This is mostly a problem visibility, I think. Most people stumble across my books by accident. Reviews, p
74.
▲
by
nils-m-holm
3y ago
> however a disadvantage is that the reader needs to know or learn a new programming language first This is a good point, and I have thought about it a lot before starting the book. What finally made my choose T3X is that its compiler is
75.
▲
by
nils-m-holm
3y ago
Thank you! The 2nd Ed. was quite an endeavor, I am glad you like it!
76.
▲
by
nils-m-holm
3y ago
Cool! The one in the book is for the Z80, which is a bit older and does not even have multiply or divide instructions. The compiler can also output code for the 8086, though. And the 386.
77.
▲
by
nils-m-holm
3y ago
Here it is, my latest compiler book! Basically an expanded version of "Write Your Own Compiler", this time discussing code generation for CP/M on the Z80 (instead of ELF on modern systems), which simplifies some things a lot.
78.
▲
Write your own retro compiler
(t3x.org)
329 points
by
nils-m-holm
3y ago
|
65 comments
79.
▲
Write Your Own Retro Compiler
(t3x.org)
6 points
by
nils-m-holm
3y ago
|
1 comments
80.
▲
by
nils-m-holm
3y ago
My latest book, an homage to the times where a compiler could just spit out machine code. The text discusses and implements a self-hosting compiler for CP/M on the Z80.
81.
▲
by
nils-m-holm
3y ago
I have written much more, more like 20, but not everything is still available. Then with a few books I ran out of motivation, so they just sit in my archive. At the beginning writing somehow fascinated me, but right now it is probably just
82.
▲
by
nils-m-holm
3y ago
Sometimes I post here, sometimes on reddit. Mostly I have no idea how people stumble across my books, though.
83.
▲
by
nils-m-holm
3y ago
Writing books which generate revenues of about $500 per month (all of them combined, not every single one). See http://t3x.org
84.
▲
by
nils-m-holm
3y ago
> Very cool to see a live usenet discussion! You can take part in those, too :)
85.
▲
by
nils-m-holm
3y ago
The compiler uses the same level of optimization on both DOS and CP/M. It is self-compiled on both platforms. It uses DOS interrupts on DOS and BDOS functions on CP/M, but I/O is really not a big issue here. The DOS compiler
86.
▲
by
nils-m-holm
3y ago
One of the guys "talking nonsense on an obscure newsgroup" here. :) There was no premise. I ported my T3X compiler ( http://t3x.org/t3x/t3x0.html ) to DOS and CP/M, self-compiled it on both, and was surpri
87.
▲
by
nils-m-holm
3y ago
These might be worth a look: Write Your own Compiler ( http://t3x.org/t3x/book.html ) - a minimal compiler that translates a procedural language to 386 machine code. Practical Compiler Construction ( http://t3x
88.
▲
by
nils-m-holm
3y ago
Small C was the inspiration for SubC, a project of mine. It is pretty much a cleaned-up and slightly extended rewrite of Small C that compiles with few warnings on modern compilers. Also comes with a book. http://t3x.org/sub
89.
▲
by
nils-m-holm
4y ago
http://t3x.org This is purely an outlet of raw creativity, because I have nowhere else to go with it. Other than that I have never wondered what the purpose of my website is. It has brought me some moderate passive income of abo
90.
▲
by
nils-m-holm
4y ago
Lots of tiny, self-hosting compilers here: http://t3x.org For example: Compiler for a procedural language, compiling to binary in 1500 lines: http://t3x.org/t3x/comp.html Super-portable tiny compiler for DO
More ›