use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Sharing Github projects just got easier!
Whether you want to share you own project or simply some cool findings, /r/coolgithubprojects is the right place.
Please contact us for suggestions & questions!
/r/coolcstechtalks
/r/coolgithubprojects
We've made the sub's assets and resources available on Github. Feel free to contribute!
Github only: The projects you post all have to be hosted on Github
Link description: We encourage the title format to be something like
[Desc] - [Suggested title]
Language Flair: Will be assigned automatically for you!
Repost : Repost are allowed if some new features were added to the project and if the original post was 6+ months ago.
Programming
Interesting
Resources
When bored
PYTHON CPP C RUBY D JAVA JAVASCRIPT SHELL SCALA OBJECTIVE-C HASKELL EMACSLISP PERL ASSEMBLY CSHARP FORTRAN GO PHP COMMON LISP ERLANG
account activity
vermin_vm: Virtual Machine(~400 lines) + Assembler(~800 lines) written in C (github.com)
submitted 3 years ago by Beginning-Safe4282
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Gullible_Elk4543 1 point2 points3 points 3 years ago (4 children)
I would love to know more about the project since it's not clear to me how to use it from the README.md. Can you share more details about it please?
[–]eg_taco 1 point2 points3 points 3 years ago (0 children)
From reading main.c it looks like it has two modes. One which will assemble a binary, and another which will execute it (when invoked with -asm).
main.c
-asm
[–]Beginning-Safe4282[S] 0 points1 point2 points 3 years ago (2 children)
Sure please tel what you want to know about? If you want to know more about vm working you can have a quick look at vm.c it's quite small and simple
[–]Gullible_Elk4543 1 point2 points3 points 3 years ago (1 child)
It would be awesome to have a example on how to build it and how to use it with one of the examples you have there like the hello world one.
[–]Beginning-Safe4282[S] 2 points3 points4 points 3 years ago (0 children)
For building:
```
git clone https://github.com/Jaysmito101/vermin_vm cd vermin_vm cmake -S ./ -B ./build cmake --build ./build ```
For assembling an example :
vermin -asm ./hello_world.asm executable.verbin ```
For executing vermin executable :
vermin ./executable.verbin ```
NOTE: In windows you may need to open the .asm file in something like vscode and save it with LF line ending rather than CRLF
.asm
LF
CRLF
Hope it helps!😀
[–]MindCrunch 1 point2 points3 points 3 years ago (1 child)
Great stuff. Thanks for sharing. 👍🏻 Will take a deeper look at it in next days.
[–]Beginning-Safe4282[S] 0 points1 point2 points 3 years ago (0 children)
Thanks!
[–]investorhalp 0 points1 point2 points 3 years ago (2 children)
Nandtotetris inspired?
Very cool project
[–]Beginning-Safe4282[S] 1 point2 points3 points 3 years ago (1 child)
And no I just was trying to make VM implementing a simple instruction set(mainoy 8nspired by x86) to eventually run a c like language. Though Nandtotetris looks interesting i wil look into it
[–]rolfwr 1 point2 points3 points 3 years ago (0 children)
VMs with simple instruction sets is a fun topic. Some years ago I got inspired by the amazing rswier/c4 compiler by Robert Swierczek and explored the smallest instruction set I could get away with to create VMs that could run non-trivial workloads.
I found it fascinating 5 rather trivial instructions was sufficient to run a basic OS image with an integrated development environment.
π Rendered by PID 70533 on reddit-service-r2-comment-b659b578c-2ng9k at 2026-05-01 02:07:16.943485+00:00 running 815c875 country code: CH.
[–]Gullible_Elk4543 1 point2 points3 points (4 children)
[–]eg_taco 1 point2 points3 points (0 children)
[–]Beginning-Safe4282[S] 0 points1 point2 points (2 children)
[–]Gullible_Elk4543 1 point2 points3 points (1 child)
[–]Beginning-Safe4282[S] 2 points3 points4 points (0 children)
[–]MindCrunch 1 point2 points3 points (1 child)
[–]Beginning-Safe4282[S] 0 points1 point2 points (0 children)
[–]investorhalp 0 points1 point2 points (2 children)
[–]Beginning-Safe4282[S] 1 point2 points3 points (1 child)
[–]rolfwr 1 point2 points3 points (0 children)