HackerTrans
TopNewTrendsCommentsPastAskShowJobs

keyvank

no profile record

Submissions

If you love Brainfuck, you are going to love this game

bf.amirhn.workers.dev
3 points·by keyvank·last month·0 comments

Show HN: I made a full Ethereum account-proof circuit in Circom

github.com
2 points·by keyvank·12 months ago·3 comments

Show HN: A Scarce Cryptoasset Rooted in Private ETH Destruction

worm.cx
3 points·by keyvank·last year·0 comments

Show HN: Tiny Implementation of EVM in Rust

github.com
1 points·by keyvank·2 years ago·0 comments

[untitled]

1 points·by keyvank·2 years ago·0 comments

Satoshi Family

satoshi.family
2 points·by keyvank·2 years ago·0 comments

Show HN: Hacker News Clone for Crypto

satoshi.family
4 points·by keyvank·2 years ago·0 comments

Show HN: Book on writing many kind of cool software from scratch

github.com
6 points·by keyvank·2 years ago·2 comments

Ask HN: Looking for a new hobby programming project to start

4 points·by keyvank·2 years ago·2 comments

EIP-7503 – Coolest privacy solution on Ethereum

eip7503.org
1 points·by keyvank·2 years ago·0 comments

Show HN: My C compiler compiled itself

github.com
275 points·by keyvank·2 years ago·128 comments

Show HN: 30cc: A toy C compiler written in C

github.com
2 points·by keyvank·2 years ago·0 comments

Show HN: 30cc: A toy C compiler written in C

github.com
3 points·by keyvank·2 years ago·0 comments

Show HN: CKBX: The Web3 version of the one-million-checkboxes challenge

github.com
1 points·by keyvank·2 years ago·0 comments

Train a Custom GPT LLM Using Your Own Data from Scratch [video]

youtube.com
3 points·by keyvank·2 years ago·0 comments

Ask HN: Will someone here review my computer-science book?

2 points·by keyvank·2 years ago·0 comments

Ask HN: How can I learn about manufacturing?

72 points·by keyvank·2 years ago·54 comments

Ask HN: What are some lesser-known computer programming publishers?

8 points·by keyvank·2 years ago·9 comments

Show HN: Burn ETH, mint BURNTH, a contract-less privacy solution on Ethereum

github.com
3 points·by keyvank·2 years ago·0 comments

Show HN: The Super Programmer – A colorful introduction to engineering

keyvan.me
14 points·by keyvank·2 years ago·10 comments

comments

keyvank
·12 months ago·discuss
Almost correct! Though the system consists of 2 tokens. BETH which is 1:1 ERC-20 receipt of burnt ETH, and WORM which has a limited cap & limited emission of 50 WORM per 30 minutes which can be mined by consuming BETH :)
keyvank
·2 years ago·discuss
nice job! now it's time for the prover part :)
keyvank
·2 years ago·discuss
So glad you liked it!
keyvank
·2 years ago·discuss
wow, i envy you! :) i have been working on a really simple self-compiling C compiler for some time, was wondering if you are interested in adding it to your OS haha. but if GCC works fine, then i don't see a reason :d
keyvank
·2 years ago·discuss
can you compile and run smth like gcc in your OS?
keyvank
·2 years ago·discuss
have done that already :(
keyvank
·2 years ago·discuss
that’s why i love HN. tnx for the links!
keyvank
·2 years ago·discuss
the asms should be identical, so the binaries should be identical too, unless the linker is undeterministic
keyvank
·2 years ago·discuss
perfect explanation, tnx!
keyvank
·2 years ago·discuss
i think it just supports smth like 70% of C. I didn't bother supporting floating-point operators, or arrays (I mean, malloc and pointers are fine) or etc. I just wanted smth small and self-hosting!
keyvank
·2 years ago·discuss
i learnt that building a c compiler isn't that hard, just takes time :)
keyvank
·2 years ago·discuss
thanks man!

yes that makes sense. unfortunately 30cc is not able to compile that syntax, and will probably give type-checker errors when passing a void* to pointer of another type. but will implement it sometime soon!
keyvank
·2 years ago·discuss
Thanks! The third step proves that the assembly code generated by the second-step compiler is valid even when compiling a big C project.
keyvank
·2 years ago·discuss
tnx!
keyvank
·2 years ago·discuss
tnx!
keyvank
·2 years ago·discuss
Makes sense, have to get my hands dirty.
keyvank
·2 years ago·discuss
This looks neat, thanks!
keyvank
·2 years ago·discuss
Makerspaces seem fun! Unfortunately, there isn't something like that where I live (Iran). Wish you the best in building your factory!
keyvank
·2 years ago·discuss
If you want to get deep in LLMs: https://github.com/keyvank/femtoGPT
keyvank
·2 years ago·discuss
I think publishers do a much better job marketing the book for you, plus I don't have enough money for self-publishing ;(