jurigged
ClojureDart
jurigged | ClojureDart | |
---|---|---|
15 | 27 | |
1,016 | 1,339 | |
- | 1.1% | |
5.2 | 9.1 | |
17 days ago | 5 days ago | |
Python | Clojure | |
MIT License | - |
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.
jurigged
-
[D] Yann LeCun's Hot Take about programming languages for ML
If that interests you, I made a package called jurigged that basically does autoreload but asynchronously on Python in general (i.e. you can write jurigged script.py instead of python script.py; it works in a separate thread and can also work in notebooks). It's more surgical than what the notebook does in that it only hot swaps code in changed functions and does not re-execute anything else. This feature is cool too, IMO.
-
Debugging Lisp: in CL we can resume a program from any point in the stack
Some of the basic hot-loading features can probably be approximated in Python. Here's some from my bookmarks(i've not tried them personally)
- https://github.com/breuleux/jurigged
- https://github.com/reloadware/reloadium
I would imagine lisp can do this on a whole different level. Emacs seems like a testament to that. Basically the entire editor feels like eval()
- So you're using a weird language
-
Reloadium – Hot Reloading for Python (a.k.a. Edit and Continue)
I've been using jurigged [0] for hot code reloading which is great. It works by replacing code objects in place at the function level which naturally handles many cases like applying to existing objects, avoiding loading a module multiple times, etc. As others noted the actual source of this one is not there so it's hard to know what it's doing. The published package contains a binary shared library so I suppose it's written as a CPython extension.
[0] https://github.com/breuleux/jurigged
- jurigged - Hot reloading for Python
ClojureDart
- ClojureDart – Clojure Dialect for Flutter and Dart
- Embedding Clojure into iOS Applications
-
Why Lisp?
> "ClojureDart is production-ready: you can ship applications right now.
Source: https://github.com/Tensegritics/ClojureDart
See a live demo here: https://www.youtube.com/watch?v=dqBeGpuedf0
ClojureDart is very similar to ClojureScript, which the GP is already comfortable with.
-
Is Clojure the only language you need?
Ah, and there is also a new version of Clojure in active development - ClojureDart. It is a port of Clojure language to Dart with the primary goal of using Flutter framework and getting a native mobile and desktop UI.
-
So you're using a weird language
There is a port of the Clojure language to Dart with Flutter support: https://github.com/Tensegritics/ClojureDart
-
What features should a Lisp IDE have?
Now https://github.com/Tensegritics/ClojureDart exist to build GUI with flutter.
-
language bindings?
There are ways, but it is generally a lot of work, for example there is ClojureDart https://github.com/Tensegritics/ClojureDart . Though unusually that sort of thing is normal for Clojure, because it is a hosted language (Clojure -> JVM, ClojureScript -> JS, etc).
- Jumping back in!
-
Clojure Single Codebase?
Something to checkout for mobile and desktop is: https://github.com/Tensegritics/ClojureDart
-
Clojure Scripting on Node.js
Basically, you take a programming language and make it work on a platform that meant to be programmed using a different PL. Clojure is hosted by design - it's not Java, but can be used to program for JVM. It ain't Javascript, but can be used to target nodejs and browser; not an [official] CLR language, but you can write .Net programs. You can use Clojure to make Flutter apps with ClojureDart. You can integrate Python into Clojure with libpython-clj. Or write Clojure to target Erlang/OTP; or Rust; or R; There's even a clojure-like language for Lua - Fennel.
There's something about Clojure people like so much, they want it to work atop any platform.
https://github.com/Tensegritics/ClojureDart
https://github.com/clj-python/libpython-clj
https://github.com/clojerl/clojerl
https://github.com/clojure-rs/ClojureRS
https://github.com/scicloj/clojisr
https://fennel-lang.org
What are some alternatives?
reloading - Change Python code while it's running without losing state
gallery - Flutter Gallery was a resource to help developers evaluate and use Flutter
reloadium - Hot Reloading and Profiling for Python
valence-native - A React environment for cross platform desktop apps
PyDev.Debugger - Sources for the debugger used in PyDev, PyCharm and VSCode Python
vim-iced - Clojure Interactive Development Environment for Vim8/Neovim
watchfiles - Simple, modern and fast file watching and code reload in python.
slsa - Supply-chain Levels for Software Artifacts
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
babashka - Native, fast starting Clojure interpreter for scripting
PythonHotswap - Hotswap Python functions. And persistence of runtime.
language - Design of the Dart language