Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
10x-dev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
10x-dev
4y ago
Crafting Interpreters by Nystrom. It's great because of how accessible it makes compilers to average programmers, and, as a bonus, it also throws shade at the overly dense compiler textbooks: "Classic compiler books read like fawn
2.
▲
by
10x-dev
4y ago
Your statement that C cannot be used to implement zero cost abstractions is factually false. There are no other options here. You said something that is incorrect. Edit: downvoting will not change that
3.
▲
by
10x-dev
4y ago
Sure, but your statement about C remains false.
4.
▲
by
10x-dev
4y ago
It's certainly possible to build a compiler in C for a language that provides zero cost abstractions.
5.
▲
by
10x-dev
4y ago
In a normalized database that's true, but in a denormalized database, by definition, you get a third option, which is to have tables with redundant data that can be returned in a single query (as if it were pre-joined, I suppose).
6.
▲
by
10x-dev
4y ago
Are joins in a 5NF database now as fast as querying a denormalized database?
7.
▲
by
10x-dev
4y ago
I've never liked the "you'll get used to it" approach to life. I prefer to make my life harder by pursuing the perfect solution. It has bitten me in the behind multiple times in the past :)
8.
▲
by
10x-dev
4y ago
I think its killer feature is the memory safety guarantees, but other than that, I just don't find it as readable as other modern languages, mainly because it's symbol heavy.
9.
▲
by
10x-dev
4y ago
Yeap, our team has a few quick-and-dirty GUI tools in Flutter
10.
▲
by
10x-dev
4y ago
I work at Meta and I use tools written in bash, C, Java, Go, TypeScript, Kotlin and Dart daily. I've definitely noticed that some C++ tools are moving to Rust. I would have preferred to see D in its place, but it is what it is. Persona
11.
▲
by
10x-dev
4y ago
I loved 50% of my Master's degree program. Those were the best CS courses I ever took (writing assemblers, compilers, CPUs in FPGA, OS kernels from scratch). I could have presumably avoided the degree and done it all by myself, without
12.
▲
by
10x-dev
4y ago
This is my biggest issue with working at FAANG (been at 2). Lots of people just don't give a shit. To paraphrase the Silicon Valley show: "you got your RSUs now fuck off for 4 years". I can't fault people for making the
13.
▲
by
10x-dev
4y ago
I wish the problem were my misunderstanding the process, because then I could fix it easily by learning more about the process. I do get where you're coming from though.
14.
▲
by
10x-dev
4y ago
My 'favorite' silly thing PMs do is UX research studies (typically on 5-10 people) and essentially ask completely untrained people if we should go with X/Y or Z. It's a super-effective way of avoiding responsibility for
15.
▲
by
10x-dev
4y ago
Nope, an error quickly flashed on the screen (something like "Error 22", no real info) before the laptop proceeded to boot Windows.
16.
▲
by
10x-dev
4y ago
I bought one of these laptops. It came with Windows 11. I followed the steps on Ubuntu website to flash a USB drive and the laptop didn't boot from it, despite selecting to boot from USB. After disabling Secure Boot from BIOS, I was ab
17.
▲
by
10x-dev
4y ago
I did not suggest it would be easy and also, someone has to imagine a competitor company before it can exist.
18.
▲
by
10x-dev
4y ago
It is objectively not ludicrous. It might go against the commonly taught idea that businesses should focus solely on generating profits, but it is not unreasonable to create a system where businesses have to keep the common good in mind. Th
19.
▲
by
10x-dev
4y ago
Absolutely! Speaking of operators, out of curiosity, what's the reason for using '!' with templates? Naively, I would think that making template instantiation look the same as a function call would be a desirable feature, wit
20.
▲
by
10x-dev
4y ago
Thanks Walter, that's a great example and I like that, because parens are optional, it could also be written as e.d.c(3).b.a which is even cleaner. For those who are thinking UFCS is a trivial detail, consider that the shell a
21.
▲
by
10x-dev
4y ago
Thanks for your comment. Please rest assured I am not abusing OOP, and am absolutely not contradicting myself by choosing C.
22.
▲
by
10x-dev
4y ago
D is by far my favorite language. I put in a lot of effort to learn the language and thoroughly enjoyed discovering D's elegance. It has super clean solutions to all sorts of language issues (e.g. obj.foo() is just syntactic sugar for
23.
▲
by
10x-dev
4y ago
In terms of developing software without distractions, I like to recreate airplane conditions. I load devdocs.io in a persistent tab, get all the software I think I'd need for the day/weekend and turn on airplane mode. I don't
24.
▲
by
10x-dev
4y ago
Your choice of words tells me this will not be a productive conversation.
25.
▲
by
10x-dev
4y ago
Your rights end where my rights begin. It's only a knot if your brain doesn't care for other people.
26.
▲
by
10x-dev
4y ago
Anecdata: when I was intermittently fasting, I found that exercising at lunch curbed my appetite and I could easily last till dinner with no food or with a small yogurt snack (<50cal). On days when I didn't exercise, I felt hungrier
27.
▲
by
10x-dev
4y ago
500K is total comp right?
28.
▲
by
10x-dev
4y ago
Isn't the human body essentially advanced hardware through which we perceive reality? If our computer hardware had the same specs and could provide the same visual fidelity, you might not be able to tell the difference.
29.
▲
by
10x-dev
4y ago
Try Robo Recall.
30.
▲
by
10x-dev
4y ago
I'm ok if my life doesn't get disrupted every 2 years with a new type of incompatible connection between my devices. Maybe we could put all that innovation and consumer inconvenience into resolving climate change.
More ›