4 ms·
A language is as good as its libraries are. Do you provide libs for IOT? WebDev? games? People say, Go is successful because it's backed by Google, no, it's suc
by camus2 10y ago
A language is as good as its libraries are. Do you provide libs for IOT? WebDev? games? People say, Go is successful because it's backed by Google, no, it's successful because its std lib has a socket and an http server. Focus on a niche, be successful in that niche and people will try to use it for everything else.
- arc776 10y agoWebdev and games are fairly well covered, not sure about IOT but as far as embedded goes I know people are using it on arduino & RPi. Check out the stdlib: http://nim-lang.org/docs/lib.html http://nim-lang.org/docs/lib.html Some interesting projects related to the above: Webdev frameworks: https://github.com/dom96/jester https://github.com/dom96/jester https://flyx.github.io/emerald/ https://flyx.github.io/emerald/ https://github.com/onionhammer/nim-templates.git https://github.com/onionhammer/nim-templates.git Gamedev: Urho3D game engine wrapper: https://github.com/3dicc/Urhonimo https://github.com/3dicc/Urhonimo Nim GLSL framework (allows writing GLSL in Nim, meaning you can use metaprogramming in GLSL): https://github.com/yglukhov/nimsl https://github.com/yglukhov/nimsl Roguelike api: https://github.com/Vladar4/libtcod-nim/ https://github.com/Vladar4/libtcod-nim/ SFML lib: https://github.com/BlaXpirit/nim-csfml https://github.com/BlaXpirit/nim-csfml SDL lib: https://github.com/PMunch/SDLGamelib https://github.com/PMunch/SDLGamelib High level glfw wrapper: https://github.com/ephja/nim-glfw https://github.com/ephja/nim-glfw Chipmonk wrapper: https://github.com/fowlmouth/nimrod-chipmunk/ https://github.com/fowlmouth/nimrod-chipmunk/ Blog on writing a 2D platformer in Nim: https://hookrace.net/blog/writing-a-2d-platform-game-in-nim-with-sdl2/ https://hookrace.net/blog/writing-a-2d-platform-game-in-nim-... Blog on making a JS NES emulator in Nim: https://hookrace.net/nimes/ https://hookrace.net/nimes/
- pathsjs 10y agoThere is a (very minimal) HTTP server in the stdlib. It can be used for very quick prototyping. It can easily be wrapped in a more usable API, for instance I have made mine: https://github.com/andreaferretti/rosencrantz https://github.com/andreaferretti/rosencrantz
- ilaksh 10y agowebdev https://github.com/dom96/jester https://github.com/dom96/jester Nim's standard lib also has sockets and http. Nim's niche is clean and fast code, with strong C/C++ interop and metaprogramming. Run 'nimble search game' to get a list like this (I did not copy and paste the whole list): libtcod-nim: url: git://github.com/Vladar4/libtcod-nim/ (git) tags: roguelike, game, library, engine, sdl, opengl, glsl description: Wrapper of the libtcod library for the Nim language. license: zlib website: https://github.com/Vladar4/libtcod-nim https://github.com/Vladar4/libtcod-nim nimgame: url: git://github.com/Vladar4/nimgame/ (git) tags: game, engine, sdl description: Simple 2D game engine for Nim language. license: MIT website: https://github.com/Vladar4/nimgame https://github.com/Vladar4/nimgame sfml: url: git://github.com/fowlmouth/nimrod-sfml/ (git) tags: game, library, opengl description: High level OpenGL-based Game Library license: MIT website: https://github.com/fowlmouth/nimrod-sfml https://github.com/fowlmouth/nimrod-sfml enet: url: git://github.com/fowlmouth/nimrod-enet/ (git) tags: game, networking, udp description: Wrapper for ENet UDP networking library license: MIT website: https://github.com/fowlmouth/nimrod-enet https://github.com/fowlmouth/nimrod-enet fowltek: url: git://github.com/fowlmouth/nimlibs/ (git) tags: game, opengl, wrappers, library, assorted description: A collection of reusable modules and wrappers. license: MIT website: https://github.com/fowlmouth/nimlibs https://github.com/fowlmouth/nimlibs nimrod-glfw: url: git://github.com/rafaelvasco/nimrod-glfw/ (git) tags: library, glfw, opengl, windowing, game description: Nim bindings for GLFW library. license: MIT website: https://github.com/rafaelvasco/nimrod-glfw https://github.com/rafaelvasco/nimrod-glfw chipmunk: url: git://github.com/fowlmouth/nimrod-chipmunk/ (git) tags: library, physics, game description: Bindings for Chipmunk2D 6.x physics library (for backwards compatibility) license: MIT website: https://github.com/fowlmouth/nimrod-chipmunk https://github.com/fowlmouth/nimrod-chipmunk chipmunk6: url: git://github.com/fowlmouth/nimrod-chipmunk/ (git) tags: library, physics, game description: Bindings for Chipmunk2D 6.x physics library license: MIT website: https://github.com/fowlmouth/nimrod-chipmunk https://github.com/fowlmouth/nimrod-chipmunk nim-glfw: url: git://github.com/EXetoC/nim-glfw/ (git) tags: library, glfw, opengl, windowing, game description: A high-level GLFW 3 wrapper license: MIT website: https://github.com/EXetoC/nim-glfw https://github.com/EXetoC/nim-glfw linagl: url: https://bitbucket.org/BitPuffin/linagl https://bitbucket.org/BitPuffin/linagl (hg) tags: library, opengl, math, game description: OpenGL math library license: CC0 website: https://bitbucket.org/BitPuffin/linagl https://bitbucket.org/BitPuffin/linagl