Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mrathi12
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mrathi12
5y ago
This is such a common fallacy. C exposes lower-level memory management, but to then say "oh now you have pointers you can implement anything" is a push. If you need to implement virtual tables and function pointers, you'd use
2.
▲
by
mrathi12
5y ago
> C lets you use OO if you want it Tenuous - if you are willing to implement objects yourself then you could use C sure, but I don't think that means the language "lets you use OO". It's like you could also probably
3.
▲
by
mrathi12
5y ago
Agreed, I think that the code itself should be readable through better names, with the comments being a bonus rather than critical to the understanding of the code.
4.
▲
Habitcrafting and Tool-Making
(thesephist.com)
3 points
by
mrathi12
5y ago
|
0 comments
5.
▲
by
mrathi12
6y ago
DTP tackles Article 20 of GDPR
6.
▲
A full website in 1.7 KB (all assets included)
(minwiz.com)
2 points
by
mrathi12
6y ago
|
0 comments
7.
▲
What's Next?
(graydon2.dreamwidth.org)
1 points
by
mrathi12
6y ago
|
0 comments
8.
▲
by
mrathi12
6y ago
WASM is definitely one to look out for.
9.
▲
by
mrathi12
6y ago
While we're here, let's not forget about the incredible Kaleidoscope tutorial. They really helped me get a grip with LLVM. https://llvm.org/docs/tutorial/index.html
10.
▲
by
mrathi12
6y ago
Hi, author of the post here. Thank you very much for your kind words!
11.
▲
by
mrathi12
6y ago
Yes, exactly. Clang emitted IR especially has a lot of (C/C++)-specific junk. If you look past that clutter, it's not too bad. I think the best way to learn to read IR is to look at super-minimal examples, and then you'll be
12.
▲
by
mrathi12
6y ago
The command to use is `clang -S -emit-llvm -O1 foo.c` It'll write it out to a foo.ll file. (I use -O1 so it cleans up a bit of the messy parts of the IR).
13.
▲
by
mrathi12
6y ago
> learn to write little C programs and use clang to emit the IR. Highly recommend this. I used this to get an understanding of how to implement the IR for my language.
14.
▲
by
mrathi12
6y ago
Regarding this post in particular, I chose to document everything in terms of the C++ API as that's the native API. You can use any of the other bindings, and just translate the syntax across to your language.
15.
▲
by
mrathi12
6y ago
Hey, author of the post here. Do I think the C++ API is important? For most languages no. The OCaml bindings in my case were almost sufficient, but I planned to do some memory fences and other operations in my language that the OCaml bindin
16.
▲
by
mrathi12
6y ago
Hey, Author here. This post is just some of the advice I picked up along the way. What advice would you give interns and junior developers starting out in the industry?
17.
▲
by
mrathi12
6y ago
Author here. Let me know if you have any questions about the guide to LLVM. Happy to answer questions!
18.
▲
by
mrathi12
6y ago
Author here! Feel free to ask questions about the post :)
19.
▲
An accessible introduction to type theory and implementing a type-checker
(mukulrathi.co.uk)
5 points
by
mrathi12
6y ago
|
1 comments
20.
▲
by
mrathi12
6y ago
Ah, yes I have, apologies! Will repost with the correct link :)
21.
▲
by
mrathi12
6y ago
Hey all, author here, happy to answer any questions you have!
22.
▲
An accessible introduction to type theory and implementing a type-checker
(mukulrathi.co.uk)
7 points
by
mrathi12
6y ago
|
3 comments
23.
▲
AI is not a magic sauce
(mukulrathi.co.uk)
1 points
by
mrathi12
6y ago
|
0 comments
24.
▲
Backpropagation through, well, anything (2018)
(mukulrathi.co.uk)
2 points
by
mrathi12
6y ago
|
0 comments
25.
▲
React from First Principles
(mukulrathi.co.uk)
1 points
by
mrathi12
6y ago
|
0 comments
26.
▲
Do technical mechanisms for building ‘trust’ help people trust systems?
(mukulrathi.co.uk)
2 points
by
mrathi12
6y ago
|
0 comments
27.
▲
Regulation Entrenches Incumbents
(mukulrathi.co.uk)
1 points
by
mrathi12
6y ago
|
0 comments
28.
▲
No, AI can’t predict the outcome of the election
(mukulrathi.co.uk)
2 points
by
mrathi12
6y ago
|
0 comments
29.
▲
17 Tips to Convert an Internship to a Full-Time Offer from a Former FB Intern
(mukulrathi.co.uk)
1 points
by
mrathi12
6y ago
|
0 comments
30.
▲
17 Tips for Converting Your Internship at FAANG to a Full-Time Offer
(mukulrathi.co.uk)
2 points
by
mrathi12
6y ago
|
0 comments
More ›