Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/221v/learn_5
https://github.com/221v/learn_5
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/221v/learn_5
- Owner: 221V
- License: other
- Created: 2024-08-08T11:43:01.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T16:39:28.000Z (3 months ago)
- Last Synced: 2024-08-29T13:55:28.775Z (3 months ago)
- Language: C
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# learn_5 -- just learning
```
$ cd# compile all in folder
$ make all# OR compile only C program
$ make c1# OR compile only Nim program
$ make c2# OR compile only D program (ldc2, with --betterC, single file program.d without deps)
$ make c3# OR compile only D program (ldc2, no betterC, single file program.d without deps)
$ make c30# OR compile only D program (with deps, with source folder, with dub.json)
$ make c31# OR compile only D program (ldc2, with deps, without source folder, with dub.json)
$ make c32# compile OCaml program (ocamlopt)
$ make c4# run C program
$ make run1# run Nim program
$ make run2# run D program
$ make run3# run OCaml program
$ make run4# run poop benchmark C and Nim programs
$ make poop12# # run poop benchmark C and D programs
$ make poop13# run poop benchmark Nim and D programs
$ make poop23# delete C compiled
$ make clean1# delete Nim compiled
$ make clean2# delete D compiled
$ make clean3# delete all compiled
$ make clean
``````
$ gcc --version
gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0$ nim -v
Nim Compiler Version 2.0.8 [Linux: amd64]
Compiled at 2024-07-03
Copyright (c) 2006-2023 by Andreas Rumpfgit hash: 5935c3bfa9fec6505394867b23510eb5cbab3dbf
active boot switches: -d:release# OCaml
~> utop
Welcome to utop version 2.14.0 (using OCaml version 5.2.0)!$ ldc2 -v
binary /home/e/.dlang/bin/ldc2
version 1.39.0 (DMD v2.109.1, LLVM 18.1.6)
config /home/e/.dlang/etc/ldc2.conf (x86_64-unknown-linux-gnu)## poop 0.4.0
## https://github.com/andrewrk/poop## CPU 12th Gen Intel(R) Core(TM) i7-12700H (ASUS TUF Gaming F15 FX507ZE)
```