starlark-rust
Tmuxinator
Our great sponsors
starlark-rust | Tmuxinator | |
---|---|---|
9 | 44 | |
617 | 12,431 | |
6.0% | 1.0% | |
9.8 | 6.8 | |
9 days ago | 1 day ago | |
Rust | Ruby | |
Apache License 2.0 | 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.
starlark-rust
-
What config format do you prefer?
I haven't seen anyone mention starlark yet. It's something I want to play with as a config language.
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Aside from these, if you want some inspiration for a production-grade language built in Rust, you might want to go through the source code of Starlark and Gluon.
-
Launch HN: Moonrepo (YC W23) – Open-source build system
There is also a Rust implementation of Starlark as a starting point https://github.com/facebookexperimental/starlark-rust
To add to everyone else, please don't use YAML. Starlark is great _precisely_ because it is a readable, well known (nearly Python) language that is limited at the same time (no unbounded for loops, no way to do non-deterministic things like get the current time or `random()`).
-
Benchmarking Starlark against other embedded scripting languages
This is a follow-up to Benchmarking mlua/rlua/rhai - Rust embedded scripting languages from 4mo ago; I just added the new Starlark implementation from Meta to the benchmark posted by @aleksru.
-
The Perfect Configuration Format? Try TypeScript
The Rust implementation has it as an experimental extension (https://github.com/facebookexperimental/starlark-rust/blob/m...)
-
Making an interpreter for variable length byte-code, any way to use enums for this and not just a big u8?
u/ndmitchell has been working on a Starlark interpreter. He wrote up a blog post with some thoughts about different interpreter styles. He found that in his case using fixed sized instructions was about the same as byte-encoded ones, but compiling the AST to closures was also about the same performance as well, and doesn't need an AST->bytecode compiler.
-
Can i use rust to write my compiler??
As mentioned in other comments, type system features like algebraic data types (that Rust has) are really helpful. If you want a small-but-real example of a compiler in Rust (with an optimizer etc) then the starlark-rust compiler is good.
-
Zellij – A Terminal Workspace and Multiplexer Written in Rust
If your Rust program needs a more complicated configuration (conditionals, access to APIs and so on), also look at Facebook's Starlark parser and tooling[1]. Starlark is a subset of Python used by Bazel, Buck and a few other projects.
[1]: https://github.com/facebookexperimental/starlark-rust
-
New version of Rust Starlark, an implementation of a deterministic Python-like language
The Facebook post gives a nice overview. It also links out to the home page for the project at https://github.com/facebookexperimental/starlark-rust/, which has an introduction and links to what Starlark is, the crates.io link, the docs.rs link etc.
Tmuxinator
-
Automating the startup of a dev workflow
Well, I now use tmux and tmuxinator. I have had many failed tmux attempts over the years, but I'm firmly bedded in now.
-
Kera Desktop: open-source, cross-platform, web-based desktop environment
I once bought a 32 core ThreadRipper and tried to get along with using a cheap £200 Windows 10 laptop to remote into the threadripper while in coffee shops and use the ThreadRipper to do my work.
The £200 Windows 10 laptop wasn't powerful enough, it was too laggy. Even on Wifi.
I love the idea of the X11 protocol. And I still love the idea of a web desktop. Something that is supremely well integrated and allows me to move workloads between client and server seamlessly. This idea I really like. The ability to outsource computation and storage seamlessly. A process can be moved between machines seamlessly.
This could be modelled in Javascript and promises that can be sent around. Microservices in the desktop environment.
I looked at tools that would bring up tmux sessions with everything preloaded. (https://github.com/tmuxinator/tmuxinator)
ScrapScript has very good ideas in this area of distributing dependencies and storage. (https://scrapscript.org/) There is also val town.
I never use KDE Plasma widgets or the sidebar widgets that Mac provided.
There is so many exciting ideas that could be tried out but I worry they're all too big ideas to be implemented.
- Tmuxinator – manage tmux sessions easily
-
How to save workspaces?
tmuxinator
-
Getting Started with Tmux
I use https://github.com/tmuxinator/tmuxinator for my workspaces. Doesn't save ad-hoc layouts, but usually I find one layout that works per project, then create a tmuxinator config for it, so after reboot, it's a short "tmuxinator start $my-project" away to get back to how I want it to be.
-
Is tmux appropriate for automation in a script?
you might be interested in: https://github.com/tmuxinator/tmuxinator
-
A Quick and Easy Guide to Tmux
I’ve become a huge fan of tmuxinator. Incredible tool for defining templates for tmux.
https://github.com/tmuxinator/tmuxinator
- Decision to Vim - #2. vim repo and vimtutor, hammerspoon
-
zoom only one side of the window?
I doubt that would be possible with tmux's built-in zoom functionality (if it is, I'm not aware). You can use tools such as tmuxinator to create cusotm layouts, but I think "zoom" in tmux means "cover the whole window"
-
Been there, done that
mprocs looks pretty cool. In the past I've used Tmuxinator or Tmuxp configs for stuff like that.
What are some alternatives?
cue - CUE has moved to https://github.com/cue-lang/cue
tmuxp - 🖥️ Session manager for tmux, build on libtmux.
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
awesome-tmux - A list of awesome resources for tmux
.tmux - 🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
teamocil - There's no I in Teamocil. At least not where you think. Teamocil is a simple tool used to automatically create windows and panes in tmux with YAML files.
wasmtime - A fast and secure runtime for WebAssembly
edex-ui - A cross-platform, customizable science fiction terminal emulator with advanced monitoring & touchscreen support.
zellij - A terminal workspace with batteries included
Terjira - Terjira is a very interactive and easy to use CLI tool for Jira.
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)