Better HN
topnewbestaskshowjobs
Log inSign up

keyvank

169 karma · joined Apr 6, 2017 (9y ago) · 59 submissions

A passionate programmer! https://github.com/keyvank

Read my book: https://github.com/keyvank/tsp

Submissions

1.

If you love Brainfuck, you are going to love this game(bf.amirhn.workers.dev ↗)

3 points · by keyvank · 5mo ago · discuss

comment 1y ago · link · parent

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 :)

3.

Show HN: I made a full Ethereum account-proof circuit in Circom(github.com ↗)

2 points · by keyvank · 1y ago · 3 comments

4.

Show HN: A Scarce Cryptoasset Rooted in Private ETH Destruction(worm.cx ↗)

3 points · by keyvank · 1y ago · discuss

5.

Show HN: Tiny Implementation of EVM in Rust(github.com ↗)

1 points · by keyvank · 1y ago · discuss

6.

Satoshi Family(satoshi.family ↗)

2 points · by keyvank · 1y ago · discuss

comment 1y ago · link · parent

nice job! now it's time for the prover part :)

8.

Show HN: Hacker News Clone for Crypto(satoshi.family ↗)

4 points · by keyvank · 1y ago · discuss

comment 1y ago · link · parent

So glad you liked it!

10.

Show HN: Book on writing many kind of cool software from scratch(github.com ↗)

6 points · by keyvank · 1y ago · 2 comments

comment 1y ago · link · parent

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

comment 1y ago · link · parent

can you compile and run smth like gcc in your OS?

comment 1y ago · link · parent

have done that already :(

comment 1y ago · link · parent

that’s why i love HN. tnx for the links!

15.

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

4 points · by keyvank · 1y ago · 2 comments

16.

EIP-7503 – Coolest privacy solution on Ethereum(eip7503.org ↗)

1 points · by keyvank · 1y ago · discuss

comment 1y ago · link · parent

the asms should be identical, so the binaries should be identical too, unless the linker is undeterministic

comment 1y ago · link · parent

perfect explanation, tnx!

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

i learnt that building a c compiler isn't that hard, just takes time :)

comment 1y ago · link · parent

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!

comment 1y ago · link · parent

Thanks! The third step proves that the assembly code generated by the second-step compiler is valid even when compiling a big C project.

comment 1y ago · link · parent

tnx!

comment 1y ago · link · parent

tnx!

25.

Show HN: My C compiler compiled itself(github.com ↗)

275 points · by keyvank · 1y ago · 128 comments

26.

Show HN: 30cc: A toy C compiler written in C(github.com ↗)

2 points · by keyvank · 2y ago · discuss

27.

Show HN: 30cc: A toy C compiler written in C(github.com ↗)

3 points · by keyvank · 2y ago · discuss

28.

Show HN: CKBX: The Web3 version of the one-million-checkboxes challenge(github.com ↗)

1 points · by keyvank · 2y ago · discuss

12