CSP
http_server
CSP | http_server | |
---|---|---|
5 | 5 | |
135 | 29 | |
- | - | |
0.0 | 8.5 | |
about 6 years ago | 13 days ago | |
C++ | Pony | |
- | BSD 2-clause "Simplified" 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.
CSP
- Announcing the Hare programming language
-
What is Rust’s Hole Purpose?
So there's precedent to what you say. You are right, the program would not have the runtime, but then it wouldn't be a Swift program (it would be a valid one, but you can't break certain extra rules) but something else. The reason we call it "language runtime" is because the runtime cost is due to the language choice. Refusing to code in the language and doing something else is a different language. We could write LISP code that the c compiler can interpret and compile fully but most people would call that LISP, not C.
-
C Programmers are chad
#define LISP
-
Weird but legible C programs
One example might be a Lisp interpreter using C macros: https://github.com/BlueFlo0d/CSP/blob/master/csp.h
-
Sufficiently smart compiler
You mean this lisp embedded in c preprocessor?
http_server
- ponylang/http_server: Pony library for building HTTP server applications.
-
Announcing the Hare programming language
I use pony https://ponylang.io/ as a language - it's an Actor based language with GC where every actor has its own memory and is responsible for its own GC.
The main feature is its ability to safely share or move data around between actors in a way that is data-race and deadlock free. Pony doesn't use locks anyways :-)
A high level as to how it achieves this:
-
Green Threads vs Async/Await, ergonomics-wise, toward thread-safety
And it's not just the mathematics. The non-type-theoretic paradigm-upending let-it-crash-to-keep-code-correct resilience for which Erlang/Elixir is famous was one of the biggest eye-openers for me in my programming career (which began in 1972 when I was 12). Also, the simple behaviour and very high performance results of contemporary Actorish implementations, especially Akka.io and the in-some-ways-more-impressive ponylang.io and related ORCA GC ("concurrent and parallel garbage collector for actor programs ... does not require any STW steps, or synchronization mechanisms ... zero-copy message passing and sharing of mutable data ... data race free ... [no] read/write barriers"), are eye-catching affirmations of the Actor model's approach.
-
Mutability vs Immutability vs Renaming vs other ideas
Being an unabashed Ponylang fanboy, I'd say that mutability is a separate question from the "actual" type. I'm simplifying a lot here, but generally in Pony you'd express this in a couple of different ways depending on whether you want the binding itself to be immutable or whether you only care about the instance itself:
-
Pony – High Performance Safe Actor Programming
There's an http server and a small "sinatra" like web framework.
- https://github.com/ponylang/http_server
- https://github.com/theodus/jennet
Someone might have done SQLite for Pony, but I'm not aware of it. Writing network protocol stuff in Pony is usually pretty easy and the C-FFI is usually pretty easy which generally makes writing database connectivity (for at least happy path basics) fairly easy. (Add lots of caveats here).
If you'd like to talk more in-depth, swing by the Zulip and myself and other folks from the community can help out with answers.
https://ponylang.zulipchat.com/
What are some alternatives?
C-headers
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee - eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
zig_comptime_lisp
exotracker-cpp
order-pp - order-pp preprocessor library (standalone part of chaos-pp)
jennet - A simple HTTP web framework written in Pony
pony-protobuf - Pony implementation / compiler of Google protocol buffers
hare-color - Color package for Hare (harelang.org)
Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
rust - Empowering everyone to build reliable and efficient software.