nimib
livebook
nimib | livebook | |
---|---|---|
4 | 80 | |
171 | 4,457 | |
- | 2.8% | |
5.3 | 9.8 | |
about 2 months ago | about 20 hours ago | |
Nim | Elixir | |
MIT License | Apache License 2.0 |
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.
nimib
-
Arraymancer – Deep Learning Nim Library
Jupyter notebook is indeed very important. It mainly provides data scientists with two things: a literate programming environment (mixing text, code and outputs) and a way to hold state of data in memory (so that you can perform computation interactively).
As a different take to literate programming we have created a library and an ecosystem around it: https://github.com/pietroppeter/nimib
For holding state a Nim repl (which is on the roadmap as secondary priority after completing incremental compilation) is definitely an option.
Another option could be to create a library framework for caching (or be able to serialize and deserialize quickly) large data and objects. One way to see it, could be to build something similar to streamlit cache (streamlit indeed provides great interactivity)
-
Nim 2.0.0 RC2
As a reminder, at Nim Conf back in October 2022 Andreas presented Nim 2.0 in this video https://www.youtube.com/watch?v=aDi50K_Id_k&list=PLxLdEZg8DR...
Hearing again I cannot chuckle when Araq says: Nim v1 is good at everything, Nim v2 is supposed to be better at everything.
Back then it was supposed to come out in 2022 and indeed a RC1 came out in Dec. In the blogpost for RC1 you find the desciption of all new features: https://nim-lang.org/blog/2022/12/21/version-20-rc.html
This longer time is because extra care is being taken into having a smooth transitions (for example important libraries have been tested to work on nim v2, e.g. we made sure nimib was working with v2 in early Feb: https://github.com/pietroppeter/nimib/releases/tag/v0.3.6)
- AsciiDoc, Liquid and Jekyll
-
Nim Version 1.6 Released
https://github.com/pietroppeter/nimib
Based on that and using a book theme, scinim getting started documentation is being built, e.g.:
livebook
-
Super simple validated structs in Elixir
To get started you need a running instance of Livebook
- Arraymancer – Deep Learning Nim Library
-
Setup Nx lib and EXLA to run NX/AXON with CUDA
LiveBook site
-
Interactive Code Cells
I prefer functional programming with Livebook[1] for this type of thing. Once you run a cell, it can be published right into a web component as well.
[1] - https://livebook.dev
-
What software should I use as an alternative to Microsoft OneNote?
If you're a coder, Livebook might be worth a look too. I certainly have my eyes on it.
-
Advent of Code Day 5
Would highly recommend looking at Jose's use of livebook to answer these. It makes testing easier. It's old but still relevant. Video link inside
- Advent of Code 2023 is nigh
-
Racket branch of Chez Scheme merging with mainline Chez Scheme
That's hard to say. Racket is a rather complete language, as is F# and Elixir. And F# and Racket are extremely capable multi-paradigm languages, supporting basically any paradigm. Elixir is a bit more restricted in terms of its paradigms, but that's a feature oftentimes, and it also makes up for it with its process framework and deep VM support from the BEAM.
I would say that the key difference is that F# and Elixir are backed by industry whereas Racket is primarily backed via academia. Thus, the incentives and goals are more aligned for F# and Elixir to be used in industrial settings.
Also, both F# and Elixir gain a lot from their host VMs in the CLR and BEAM. Overall, F# is the cleanest language of the three, as it is easy to write concise imperative, functional, or OOP code and has easy asynchronous facilities. Elixir supports macros, and although Racket's macro system is far more advanced, I don't think it really provides any measurable utility over Elixir's. I would also say that F# and Elixir's documentation is better than Racket's. Racket has a lot of documentation, but it can be a little terse at times. And Elixir definitely has the most active, vibrant, and complete ecosystem of all three languages, as well as job market.
The last thing is that F# and Elixir have extremely good notebook implementations in Polyglot Notebooks (https://marketplace.visualstudio.com/items?itemName=ms-dotne...) and Livebook (https://livebook.dev/), respectively. I would say both of these exceed the standard Python Jupyter notebook, and Racket doesn't have anything like Polyglot Notebooks or Livebook. (As an aside, it's possible for someone to implement a Racket kernel for Polyglot Notebooks, so maybe that's a good side project for me.)
So for me, over time, it has slowly whittled down to F# and Elixir being my two languages that I reach for to handle effectively any project. Racket just doesn't pull me in that direction, and I would say that Racket is a bit too locked to DrRacket. I tried doing some GUI stuff in Racket, and despite it having an already built framework, I have actually found it easier to write my own due to bugs found and the poor performance of Racket Draw.
-
Runme – Interactive Runbooks Built with Markdown
This looks very similar to LiveBook¹. It is purely Elixir/BEAM based, but is quite polished and seems like a perfect workflow tool that is also able to expose these workflows (simply called livebooks) as web apps that some functional, non-technical person can execute on his/her own.
1: https://livebook.dev/
- Livebook: Automate code and data workflows with interactive notebooks
What are some alternatives?
httpbeast - A highly performant, multi-threaded HTTP 1.1 server written in Nim.
kino - Client-driven interactive widgets for Livebook
treesitter-unit - A Neovim plugin to deal with treesitter units
awesome-advent-of-code - A collection of awesome resources related to the yearly Advent of Code challenge.
nlvm - LLVM-based compiler for the Nim language
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
ttop - System monitoring tool with historical data service, triggers and top-like TUI
Genie.jl - 🧞The highly productive Julia web framework
nesper - Program the ESP32 with Nim! Wrappers around ESP-IDF API's.
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
asciidoctor-html5s - Semantic HTML5 converter (backend) for Asciidoctor
axon - Nx-powered Neural Networks