beef331 / website

Code for the official Nim programming language website
https://nim-lang.org
18 stars 1 forks source link

Cosmonim #14

Closed ghost closed 3 years ago

ghost commented 3 years ago

Name: Cosmonim - an example of using Cosmopolitan Libc [highlight with link - https://justine.lol/cosmopolitan/index.html] with Nim

Author: Danil Yarantsev (@Yardanico)

Posting:

Cosmopolitan is a project that allows one to compile C programs into portable binaries [highlight with link - https://justine.lol/ape.html] that can run on multiple OSes at the same time. Cosmonim shows how to properly set up the Nim compiler to use Cosmopolitan; provides a few example programs and stubs (empty headers) so that the C compiler would not complain about missing headers.

With Cosmonim you can make CLI applications with Nim and distribute them as a single binary for multiple platforms!