nesper VS FrameworkBenchmarks

Compare nesper vs FrameworkBenchmarks and see what are their differences.

nesper

Program the ESP32 with Nim! Wrappers around ESP-IDF API's. (by elcritch)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
nesper FrameworkBenchmarks
9 374
184 7,426
- 0.6%
2.8 9.8
3 months ago 1 day ago
C Java
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nesper

Posts with mentions or reviews of nesper. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • Show HN: Program ESP32s in Nim
    1 project | news.ycombinator.com | 30 Sep 2023
  • Microsoft DeviceScript – TypeScript for Tiny IoT Devices
    9 projects | news.ycombinator.com | 8 Jun 2023
    I use Nim on embedded precisely for that reason: https://github.com/elcritch/nesper

    I wtapped much of zephyr as well but that ones less used: https://github.com/embeddednim/nephyr

  • Nim 2.0.0 RC2
    10 projects | news.ycombinator.com | 31 Mar 2023
    Nim supports both since it compiles with pretty much any C89 C compiler. Also https://github.com/elcritch/nesper :)
  • Introduction to Embedded Systems Programming (Ada)
    3 projects | news.ycombinator.com | 22 Nov 2022
    Checkout Nim! I've used it to great effect for embedded programming. It has memory management system based on non-atomic reference counting (arc) so its fast and deterministic. It has optional cycle collection too (orc). Its easy to mixin manual memory as well.

    I used F# a bit and learned a lot from it, and the same with Elixir. Nim is procedural it has an "enlightened procedural" take that feels like functional programming in some ways. Partly thats due to the very powerful type system - for example Nim lets you define custom distinct (not aliased) number types just like F#. Nim also inherits a fair bit from Pascal and so shares points with Ada like ints with custom ranges. Theres some rough points, but largely its made me enjoy programming again.

    The esp32 is a good route since they're easy to setup. I wrote a wrapper for esp-idf which is used in production in at least two embedded shops: https://github.com/elcritch/nesper

    You can run it on Arduinos as well. Theres a pure Nim setup called Ratel and a rp2040 wrapper too. :)

  • Ask HN: Who is using C++ as the main language for new project?
    26 projects | news.ycombinator.com | 12 Aug 2022
    You should checkout Nim! I use it extensively on embedded. Nim is fantastic to program in if you're an experienced C/C++ developer. Its safer and smarter but not not pedantic about it.

    Nim compiles to C or C++ so its easy to use on any embedded platform and compiler suite. Thats still huge for embedded. Rust forces a type-trait centric programming style which makes interfacing hardware/embedded harder as you have to make type heavy HALs everywhere -- hence the lack of rtos & library support despite its relative popularity).

    Its pretty trivial to re-use any C/C++ libraries which gives a big boost to the native ecosystem. I wrapped most of the esp32 idf in a few weeks: https://github.com/elcritch/nesper

    The new GC (ARC) is basically a built in `shared_ptr` or `Rc`. You can also do stack-based programming too and the compiler enforces a safe memory accesses. The performance is great and can match or beat C/C++ if you do a few hours of tuning. Though its easy kill performance if you're lazy (e.g. parse json into a bunch of heaps objects), but that can have its place.

  • Launching the 2021 Nim Community Survey
    3 projects | news.ycombinator.com | 22 Nov 2021
    I would really like to see more work on improving the use of Nim for programming microcontrollers. I stumbled on to https://github.com/elcritch/nesper recently and it looks neat, but I had issues getting my code to compile. Improved support for other MCUs like the esp8266 and atmega32u4 would be really cool and useful. It would be nice to have Nim as a higher level alternative to micropython or lua in the embedded world (your only other real alternatives being C/C++ or Rust).

    I also found this https://disconnected.systems/blog/nim-on-adruino

  • Nim Version 1.6 Released
    37 projects | news.ycombinator.com | 19 Oct 2021
    Well no language is perfect, but Nim can be used in almost every domain because of it's compilation targets(C, C++, JS) and it's fast compile times(who needs interpretation when compile times are that fast!):

    * Shell scripting, I still assume most people will just use Bash tho: https://github.com/Vindaar/shell

    * Frontend: https://github.com/karaxnim/karax or you could bind to an existing JS library.

    * Backend: For something Flask-like: https://github.com/dom96/jester or something with more defaults https://github.com/planety/prologue

    * Scientific computing: the wonderful SciNim https://github.com/SciNim

    * Blockchain: Status has some of the biggest Nim codebases currently in production https://github.com/status-im?q=&type=&language=nim&sort=

    * Gamedev: Also used in production: https://github.com/pragmagic/godot-nim and due to easy C and C++ interop, you get access to a lot of gamedev libraries!

    * Embedded: this is a domain I know very little about but for example https://github.com/elcritch/nesper or https://github.com/PMunch/badger for fun Nim+embedded stuff!

    Most of the disadvantages come from tooling and lack of $$$ support.

  • Why doesn’t V8 fit on my microcontroller?
    9 projects | news.ycombinator.com | 1 Jun 2021
    Not quite sure if I follow what you're saying. As in Tasmota/Berry do or do not do more than provide I2C/SPI?

    > If one wants to do serious stuff they would use an appropriate RTOS and program it in C.

    It's unfortunate, but still largely appears to be the case. I find C very time consuming to program, so I ported Nim to FreeRTOS [1]. It's _very_ nice being able to go from writing highly optimized ISR functions to high level JSON parsing in one language. Add in defaulting to memory safety but with no pause-the-world GC. I tried Rust but it seems more difficult to integrate into existing world RTOS'es, flashers, Swagger debuggers, etc.

    Though, I've been curious what running a WASM VM would be like? One could integrate any language: C++, C, Nim, Rust, etc. Would be interesting.

    > MongooseOS does more than this if we're talking ESP32, also other devices, Javascript, C, C++, commercial support, cloud based OTA upgrades and integration with AWS, Azure, Google and IBM Watson IoT cloud services.

    MongooseOS does seem interesting, but very targeting a niche market with prebuilt needs? For future RTOS'es I think ZephyrOS [2] has a lot of potential given it's now supported by NXP [3], TI, and others but is independent of any given (cloud) vendors or other IoT companies. Some might not like the CMake based build system, but in my view all the RTOS build systems are terrible in their own special way.

    1: https://github.com/elcritch/nesper

  • uLisp
    18 projects | news.ycombinator.com | 4 May 2021

FrameworkBenchmarks

Posts with mentions or reviews of FrameworkBenchmarks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-06-02.
  • Popular Backend Frameworks Performance Benchmark
    3 projects | dev.to | 2 Jun 2024
    Since 2013, TechEmpower has established a backend framework benchmark. They meticulously define benchmark specifications and maintain an open-source approach that encourages contributions from the community. This benchmark has become a respected standard in the tech industry, serving as a reliable yardstick for technology competitors to assess the performance of their solutions (exemple Go Fiber, C# Asp.net, JS Just). So I can trust the Techempower benchmark.
  • TechEmpower Framework Benchmarks
    1 project | news.ycombinator.com | 1 Jun 2024
  • FrankenPHP: The Modern PHP App Server
    19 projects | news.ycombinator.com | 29 May 2024
    Interested to see how this fares on Tech Empower's benchmarks: https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

    At the moment it is at the bottom as a "did not complete"

  • TechEmpower: Most best-performing frameworks do not handle db connection issues
    1 project | news.ycombinator.com | 29 May 2024
  • 100 Exercises to Learn Rust
    9 projects | news.ycombinator.com | 16 May 2024
    It seems like Rust is doing a pretty good job of applying to web apps and APIs:

    https://www.techempower.com/benchmarks

  • Swift sucks at web serving or does it?
    5 projects | news.ycombinator.com | 15 May 2024
    It would still be slower :P

    At least once you start "gaming" benchmarks interpreted and/or dynamically typed languages have a strict ceiling they can't really surpass (just.js doesn't count as it's as thin wrapper on top of C as it can get)

    https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

    (all top entries are bottlenecked by DB driver implementation and its ability to multiplex queries, and context switching cost, so those frameworks which can do perfect static partitioning and query multiplexing win out)

  • Why choose async/await over threads?
    11 projects | news.ycombinator.com | 25 Mar 2024
    Neat. Thanks for sharing!

    Interestingly, may-minihttp is faring very well in the TechEmpower benchmark [1], for whatever those benchmarks are worth. The code is also surprisingly straightforward [2].

    [1] https://www.techempower.com/benchmarks/

    [2] https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...

  • Ntex: Powerful, pragmatic, fast framework for composable networking services
    2 projects | news.ycombinator.com | 23 Mar 2024
    ntex was formed after a schism in actix-web and Rust safety/unsafety, with ntex allowing more unsafe code for better performance.

    ntex is at the top of the TechEmpower benchmarks, although those benchmarks are not apples-to-apples since each uses its own tricks: https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s...

  • A decent VS Code and Ruby on Rails setup
    8 projects | news.ycombinator.com | 21 Feb 2024
    Ruby is slow. Very slow. How much you may ask? https://www.techempower.com/benchmarks/#hw=ph&test=fortune&s... fastest Ruby entry is at 272th place. Sure, top entries tend to have questionable benchmark-golfing implementations, but it gives you a good primer on the overhead imposed by Ruby.

    It is also not early 00s anymore, when you pick an interpreted language, you are not getting "better productivity and tooling". In fact, most interpreted languages lag behind other major languages significantly in the form of JS/TS, Python and Ruby suffering from different woes when it comes to package management and publishing. I would say only TS/JS manages to stand apart with being tolerable, and Python sometimes too by a virtue of its popularity and the amount of information out there whenever you need to troubleshoot.

    If you liked Go but felt it being a too verbose to your liking, give .NET a try. I am advocating for it here on HN mostly for fun but it is, in fact, highly underappreciated, considered unsexy and boring while it's anything but after a complete change of trajectory in the last 3-5 years. It is actually the* stack people secretly want but simply don't know about because it is bundled together with Java in the public perception.

    *productive CLI tooling, high performance, works well in a really wide range of workloads from low to high level, by far the best ORM across all languages and back-end framework that is easier to work with than Node.JS while consuming 0.1x resources

  • The Erlang Ecosystem [video]
    1 project | news.ycombinator.com | 8 Jan 2024
    Although that seems to have improved in recent years.

    https://www.techempower.com/benchmarks/#hw=ph&test=json§...

What are some alternatives?

When comparing nesper and FrameworkBenchmarks you can also consider the following projects:

quickjs-esp32 - QuickJS port for ESP32

zio-http - A next-generation Scala framework for building scalable, correct, and efficient HTTP clients and servers

nim-esp8266-sdk - Nim wrapper for the ESP8266 NON-OS SDK

django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs

ecl

LiteNetLib - Lite reliable UDP library for Mono and .NET

ulisp - A version of the Lisp programming language for ATmega-based Arduino boards.

drogon - Drogon: A C++14/17 based HTTP web application framework running on Linux/macOS/Unix/Windows [Moved to: https://github.com/drogonframework/drogon]

embedded-hal - A Hardware Abstraction Layer (HAL) for embedded systems

C++ REST SDK - The C++ REST SDK is a Microsoft project for cloud-based client-server communication in native code using a modern asynchronous C++ API design. This project aims to help C++ developers connect to and interact with services.

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).

SQLBoiler - Generate a Go ORM tailored to your database schema.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured