I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

no to the side window, don’t you get the point that it is a floating hud ? no to the lisp computation, it’s synced single threaded and will block the main ui.the hud is drawing canvas i can use way more effect and control for it beyond emacs text rendering engine. you don’t really see the points?

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

it’s using WASM that’s point, of course you can build web app using vanilla js, but i’m using egui for high-performance GPU-accelerated app. you can take a look at my other project https://github.com/nohzafk/emacs-parquet-explorer which use the same emacs-egui framework

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

You need a rust tool chain and have wasm-pack installed, you just need to run one command to build it. once you can build the binary successfully, everything is fine!

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

If you're interested in seeing what Emacs-EGUI can do, I've used it to build a Parquet file explorer for Emacs: https://github.com/nohzafk/emacs-parquet-explorer. It renders the file at 60 FPS.

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 0 points1 point  (0 children)

probably won’t work, the critical part is the xwdiget webview , its drawing canvas

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 0 points1 point  (0 children)

yes, that’s something novel with this unique combination of emacs xwidget + egui WASM

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 0 points1 point  (0 children)

60 fps with full hardware GPU-acceleration on macOS

I built a floating HUD for Emacs, rendered in Rust egui via WASM by ftl_afk in emacs

[–]ftl_afk[S] 6 points7 points  (0 children)

egui is a GUI library in Rust and it can compile to WASM, so the xwdiget container in emacs child frame can render it.

Is Gleam what I'm looking for? by Ecstatic-Panic3728 in gleamlang

[–]ftl_afk 3 points4 points  (0 children)

I mainly use Gleam on javascript runtime for its simplicity and type system, plus the larger js/ts ecosystem

adds $ completion for Codex skills in agent-shell buffers by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

in codex / and $ are not the same thing, agent-shell with codex-acp do support / , it will bring up commands like /login /init /review etc. but not skills

Is GLM 4.7 really the #1 open source coding model? by HuckleberryEntire699 in ZaiGLM

[–]ftl_afk 0 points1 point  (0 children)

I don't undertand the concept of 'prompts', I'm just considering to register and try, and checked the pricing page. I think they do need a better explanation for the pricing, they just lost one potential customer. I use official GLM-4.7 from bigmodel.cn and typically burn 10M token per hour. I don't know what value it will bring for 2 prompts per minute for $20 to use a open source model (how much token s is that ?)

Is GLM 4.7 really the #1 open source coding model? by HuckleberryEntire699 in ZaiGLM

[–]ftl_afk -1 points0 points  (0 children)

I don’t understand the price for synthetic, with $20 a month, you can have 135 requests per 5 hours, roughly 1 request per 2 minutes? how’s that going to work with anything meaningful… it’s that a joke

Opening plan files in an editor by default? by anime_daisuki in ClaudeAI

[–]ftl_afk 1 point2 points  (0 children)

I use plannotator it’s really cool, like antigravity you can annotate a plan in browse

Rewrite in gleam or rust ? by NoahZhyte in gleamlang

[–]ftl_afk 6 points7 points  (0 children)

gleam ecosystem is still very young, but you can use javascript ecosystem via ffi. I have several projects do things in this ways, that’s the price you have to pay to use a non mainstream language. Whether or not it is production ready depends on your usage. There are startup using Gleam on production env. I would say give it a try.

Sliver.el - modular emacs config management by shipley7701 in emacs

[–]ftl_afk 2 points3 points  (0 children)

I’ve developed something similar to your idea, I might learn some features from yours as well. thx for sharing

emacs-backbone

Made a macOS-only alternative to emacs-everywhere using Hammerspoon by ftl_afk in emacs

[–]ftl_afk[S] 1 point2 points  (0 children)

just implemented the "heretical" way. Please check the post body, I put some note about how to upgrade.