nim-on-samd21

Template for programming Microchip SAM D21 MCUs with Nim (by auxym)

Nim-on-samd21 Alternatives

Similar projects and alternatives to nim-on-samd21

  1. Nim

    Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. v-mode

    🌻 An Emacs major mode for the V programming language.

  4. py_regular_expressions

    Learn Python Regular Expressions step by step from beginner to advanced levels

  5. svd2nim

    Convert CMSIS ARM SVD files to nim register memory mappings

  6. kcgi

    minimal CGI and FastCGI library for C/C++

  7. picostdlib

    Nim wrapper for the raspberry pi stdlib

  8. dotfile

    Simple version control made for tracking single files

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. ThinkpadBattery

    Open source Thinkpad T420 battery design

  11. micronucleus

    ATTiny usb bootloader with a strong emphasis on bootloader compactness.

  12. nimOnAVR

    Nim language test program for Arduino UNO/Nano or its compatibles

  13. dell-charger-emulator

    Emulator of original Dell charger using ATTINY85

  14. badger

    Keyboard firmware written from scratch using Nim (by PMunch)

  15. natu

    Toolkit for writing Game Boy Advance games in Nim

  16. weight-logger-pwa

    Body Weight Logger with minimaistic UI

  17. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nim-on-samd21 alternative or higher similarity.

nim-on-samd21 discussion

Log in or Post with

nim-on-samd21 reviews and mentions

Posts with mentions or reviews of nim-on-samd21. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-09-08.
  • How to get clean simple C output?
    5 projects | /r/nim | 8 Sep 2022
  • New embedded programming language with C as a host language
    7 projects | news.ycombinator.com | 25 Jul 2022
    C++ has decent industry acceptance in embedded nowadays, or at least that has been my impression.

    After C++, rust is likely the most popular, quite a lot of effort has been put into running rust on embedded, see eg https://github.com/rust-embedded. However, once again to my understanding, industry acceptance is still highly marginal.

    After that, there's a bunch of toy-ish efforts to run other languages. Zig, nim, python and javascript variants, etc. Usually anything that has C ABI compatibility should be possible to get up and running (without writing a compiler backend from scratch). I've had fun with some toy projects using nim for ARM cortex-M targets (https://github.com/EmbeddedNim/svd2nim, https://github.com/auxym/nim-on-samd21, https://github.com/EmbeddedNim/picostdlib).

    Using Nim (and eg svd2nim to generate the equivalent of CMSIS headers for register access in pure nim), it would be entirely possible to write even the low level stuff (SPI drivers and whatnot) in 100% nim, with the same performance as C and better safety (better static type system and compile-time checks, etc). Runtime (eg overflow) checks and garbage collection are available (at the cost of some performance) but optional. See eg. a pretty basic higher-level API for GPIO access, that provides native performance, since the abstraction is implemented as macros (compile-time abstraction): https://github.com/auxym/nim-on-samd21/blob/master/src/port....

  • Emulator of Original Dell Charger Using ATTINY85
    6 projects | news.ycombinator.com | 24 Feb 2022
    To be clear: Ratel isn't my project, just something I'm following due to interest.

    In the interest of shameless self promotion :), my own experimentations are :

    https://github.com/EmbeddedNim/svd2nim

    https://github.com/auxym/nim-on-samd21

    And I've used and contributed to picostdlib (https://github.com/beef331/picostdlib), the rp2040 support library.

    All just as a hobby, but it's interesting to learn that some companies are actually looking into Nim for firmware! Embedded seems like such a slow moving industry. I believe the author of Nesper and Nephyr also developed them for professional work.

  • Ask HN: What's Your Side Project?
    5 projects | news.ycombinator.com | 12 Nov 2021
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 23 Apr 2025
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Stats

Basic nim-on-samd21 repo stats
4
7
0.0
about 2 years ago

auxym/nim-on-samd21 is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of nim-on-samd21 is C.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that C is
the 6th most popular programming language
based on number of references?