boon
min-sized-rust
boon | min-sized-rust | |
---|---|---|
17 | 101 | |
321 | 7,448 | |
- | - | |
6.6 | 6.2 | |
about 2 months ago | about 2 months ago | |
Emacs Lisp | Rust | |
GNU General Public License v3.0 only | 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.
boon
-
I wanted a beautiful computer and couldn't find one, so I made my own.
I've never yet used kakoune itself, but I've just started using the Meow modal editing package for Emacs, which I'm told resembles kakoune to some similar extent as boon resembles vi.
-
Alternative keyboard layouts
Shouldn't make much difference, because most of Emacs's default keybinds are either mnemonic or arbitrary (not relative, like Vi's hjkl). There are some unique control interfaces for Emacs which support (and even recommend) alt layouts out of the box. Specifically Meow, Fingers and Boon.
-
The extensible vi layer for Emacs
There's also Boon which I like quite a lot but I opted against using mostly because of all the places I would need to type where I wouldn't have access to Boon unless I ported it (a plan I assure you but one lumped behind 1,000 other projects TODO).
https://github.com/jyp/boon
-
Ask HN: Best way to experiment with text text editing?
To build on what others are saying about Emacs, if you start exploring the package ecosystem, you're going to see quite a lot of really interesting packages that are related to improving/experimenting with the UX of editing text. While I'm not endorsing anyone in particular, I think what this list does show is just how easy it is to do pretty much whatever you want in Emacs;
https://karthinks.com/software/avy-can-do-anything/
https://github.com/jyp/boon
https://github.com/clemera/objed
https://github.com/jmorag/kakoune.el
https://github.com/meow-edit/meow/
https://github.com/xahlee/xah-fly-keys
https://github.com/Kungsgeten/ryo-modal
https://github.com/emacsorphanage/god-mode
Emacs 29 also now has treesitter and LSP mode integration built-in, a compilation mode, a comint mode for REPLs, excellent file browsing packages (I use dired/dirvish), and a few other killer features.
Now, if what you truly dislike are "quirky editors", prepare yourself for a world of hurt because vanilla Emacs departs quite a bit from "modern" text editors. I struggled with this for a while, but eventually by buying into the paradigm, I now feel that when emacs try emulating "modern" IDE features like autocompletion, LSP, and DAP UI, I feel like it's a regression, not a progression. The point here is that you might have an "idea" of what good initial UX and lack of quirks would look like, but Emacs might change the way you think.
- Deciding on Emacs Bindings vs Modal Editing (Meow, Vim, Etc.)
-
Public service announcement: Vim
Vim never, ever appealed to me. The keys are not exactly ergonomic, like the WordStar diamond, or intuitive, like the Emacs keys. But I can understand how modal editing - like in WordStar - can improve the writing experience tremendously. So, for my custom Emacs configuration for creative writing, I am using Boon, which allows me to use the left hand home row to navigate characters/words/sentences/lines, and the right hand home row to delete/insert/etc. Pressing v switches to Insert Mode, and C-; switches back to Command Mode. Highly addictively efficient!
-
Do you prefer something like evil mode or the default Emacs keybindings?
I've used both vim and evil in the past, but lately I've been playing with boon and I'm quite enjoying it. It plays nicely with emacs and has some good ideas, like pressing the yank key twice in a row will fix spaces:
-
How to make my pinkie and vanilla keybindings get along?
I am using Boon, and it has transformed my Emacs experience!
-
solution to dreaded emacs pinky finger problem (may not be possible) (only works with evil)
I use https://github.com/jyp/boon which has changed my life.
-
Why not use Evil in 2022?
I am not using Evil in 2022 because I am using Boon :)
min-sized-rust
-
The Linux Kernel Prepares for Rust 1.77 Upgrade
This is a good guide on building small Rust binaries: https://github.com/johnthagen/min-sized-rust
This talks about going to extreme lengths on making the smallest Rust binary possible, 400 bytes when it was written, https://darkcoding.net/software/a-very-small-rust-binary-ind...
The thing is, you lose a lot of nice features when you do this, like panic unwinding, debug symbols, stdlib… for kernel and some embedded development it’s definitely important, but for most use cases, does it matter?
-
Rust wont save us, but its ideas will
Oh it was 137, haha. I will link you to this older comment of mine: https://news.ycombinator.com/item?id=29408906
See also https://github.com/johnthagen/min-sized-rust
-
Making Rust binaries smaller by default
Are you sure? If so then this is awesome news, but I'm a bit confused; the commit in that min-sized-rust repo adding `build-std` to the README was merged in August 2021: https://github.com/johnthagen/min-sized-rust/pull/30
Are you saying that at that point the feature still hadn't "landed in Rust nightly" until recently? If so then what's the difference between a feature just being available in Rust nightly, vs having "landed"?
-
Was Rust Worth It?
Rust binaries are by default nowhere close to 500MB. If they are not small enough for you, you can try https://github.com/johnthagen/min-sized-rust. By avoiding the formatting machinery and using `panic_immediate_abort` you can get about the size of C binaries.
-
Compiling Rust binaries for Windows 98 SE and more: a journey
A useful reference: https://github.com/johnthagen/min-sized-rust
- How to minimize Rust binary size
- Error on flashing embedded code to stm32f103
-
Tiny Binaries (2021)
That must be without stripping. Also there are ways to reduce binary size. See e.g. [min-sized-rust](https://github.com/johnthagen/min-sized-rust). I've gotten stripped binaries of small cli utils less than 400KiB without doing anything special, less than 150 KiB by customizing profile settings and compressing with upx, and less than 30 KiB by replacing the std with the libc as the link shows. Haven't tried with fltk though...
-
Shared libraries
This is not quite what you're asking, but it does also address the underlying concern: https://github.com/johnthagen/min-sized-rust
What are some alternatives?
emacs-writer - An elegant Emacs setup optimized for non-technical writers
smartstring - Compact inlined strings for Rust.
god-mode - Minor mode for God-like command entering
Cargo - The Rust package manager
kmonad - An advanced keyboard manager
rustc_codegen_gcc - libgccjit AOT codegen for rustc
meow - Yet another modal editing on Emacs / 猫态编辑
c2rust - Migrate C code to Rust
modalka - Modal editing your way
regex - An implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.
jetbrains-darcula-emacs-theme - A complete port of the default JetBrains Darcula theme for Emacs
embedded-graphics - A no_std graphics library for embedded applications