The Gram Code Editor - 2026-10-06


  1. frafav

    I've used the gentoo 9999 live ebuild to compile the version from git (setting the cpu profile to performance I got still 8min 39s on my thinkpad), anyway I had to patch the ebuild to make it work

  2. frafav

    - envsubst <"crates/gram/resources/gram.desktop.in" >gram-editor.desktop || die + envsubst <"crates/gram/resources/gram.desktop.in" >"${APP_ID}.desktop" || die

  3. frafav

    I remember the M1 was super fast to compile things! unfortunatley my old mac trackpad/keyboard died after ~5 years of battering, so I switched back to intel. The perfect combo would be to have full support on M1 laptops and just use linux with them, my old M.Pro M1 was faster than this, and the battery lasted longer (only 8G of RAM though...)

  4. koru

    frafav, you can open PR at gram-gentoo repo and I will review it.

  5. koru

    krig, few days ago Mold was re-writen in Rust just in single PR. See: https://github.com/rui314/mold/discussions/1643 . What you think about it?

  6. koru

    I'm still think about use Wild instead Mold 'cause Mold can't compile kernel.

  7. krig

    that mold rewrite doesn’t sound good :(

  8. frafav

    hmm, I keep fantasisng to rewrite some of my stuff in rust, just because it's cool. But I have no time to even get to know rust. So I project this idea that every rust-rewrite it's basically an LLM-aided move. Nothing wrong in pronciple, but I really regret passing too much some of my projects through LLM, as in the mold discussion said, going from a battle tested project where everyone knows bits by bits to a complete rewrite is not cool ✎

  9. frafav

    hmm, I keep fantasisng to rewrite some of my stuff in rust, just because it's cool. But I don't have time to even get to know rust. So I project this idea that every rust-rewrite it's basically an LLM-aided move. Nothing wrong in principle, but I really regret passing some of my projects through LLM too much. Plus, as in the mold discussion said, going from a battle tested project where everyone knows bits by bits to a complete rewrite is not cool ✏

  10. nicoco

    I think there is a regression in main, I just built this morning. clicking the "play" icon next to a pytest test used to open a dropdown where you could launch the debugger for this specific test. now there is no dropdown anymore, it just plays the test and to debug it you have a to write sth in debug.jsonc.

  11. nicoco

    https://chat.slidge.im:5281/file_share/01a11044-3290-7577-96bb-051a4ab0c4bc/66e8774f-bbf2-49a5-8fe4-56ed678fde6f.png

  12. nicoco

    this "play" icon here, in the margin

  13. krig

    hm

  14. krig

    I had pushed a bad upgrade to taffy which I reverted, that might have caused that.. see if you have the revert

  15. nicoco

    I do, HEAD is > [2026-10-06] [18c6500803] | Revert "Update taffy to 0.14.0" {{Kristoffer Grönlund}}

  16. CubeOfShame

    Hello. I'm trying to open my first Pull Request (the zed completion item backport thing). I'm going through the checklist in the PR template and am stuck at the ./scipts/clippy part. I'm on fedora 44 with wayland, and have run the ./script/linux and install-wild scripts. It also fails against main branch.They do look like normal clippy lint errors, so I'm not sure I can do anything about it in the scope of my PR. It's errors such as: error: unneeded `return` statement --> crates/gpui/src/platform.rs:114:9 | 114 | return Rc::new(X11Client::new().expect("Failed to initialize X11 client")); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ in the gpui crate and 20 other similar issues.

  17. Emilinya

    You can probably ignore lints that are not a result of your changes, just run the script without `--deny warnings` and check that none of the warnings are relevant. I am working on a linting PR which will fix all of those linter errors

    👍 1
  18. koru

    krig, do you find someone with Windows to test bump to 0.100.x? https://crates.io/crates/windows-core/versions

  19. krig

    I’m still confused by those versions because they aren’t tagged in the repo

  20. krig

    but no not yet

  21. ashleytg

    Yesterday at 2:01 PM: > Remember that each library needs to be maintained, it's usually not enough to just write a library once and then you're done with it. So relying on community-maintained libraries where they're actively maintained and of good quality has advantages true...

  22. ashleytg

    if there's enough people maintaining Gram right now, it might be able to work!

  23. ashleytg

    and if Gram needs a new feature in the dependency, it's a simple matter of adding it to the Gram community maintained libraries!

  24. ashleytg

    Yesterday at 2:01 PM: > at least some dependencies are fully slop now so replacing those would be fantastic… OoOO which ones? :3

  25. ashleytg

    i may just do one of those!

  26. krig

    so actually one that I have already a fork for on codeberg is the mermaid parser: https://codeberg.org/GramEditor/mermaid-rs-renderer

  27. ashleytg

    hmm

  28. ashleytg

    i'm having trouble really understanding what mermaid is for...

  29. ashleytg

    is it documentation?

  30. koru

    Render mermaid in markdown

  31. krig

    yeah for drawing diagrams in documents

  32. mort

    @krig do you have a link to a log from the Windows build failure? It built fine on my Windows 11 VM with latest Rust and everything

  33. mort

    I almost have a PR ready which replaces async-std with tokio anyway so that might fix it but I'd prefer to have a way to confirm that, by reproducing the failure you're seeing

  34. koru

    mort, https://github.com/GramEditor/gram/actions/runs/37277814120 and https://github.com/GramEditor/gram/actions/runs/37366998945

  35. ashleytg

    it won't load for me 😭

  36. ashleytg

    there we go

  37. mort

    @krig Hm I wonder if it's related to the fact that I only made async-std an explicit dependency in the gram crate, maybe it should've been a dependency in every crate that depends on async-tar

  38. mort

    Essentially, maybe 'cargo build' works because that builds crates/gram which brings in the customised async-std, while 'cargo nextest run' builds some other crate(s) where async-std doesn't get that new feature

  39. krig

    hmm that’s possible

  40. krig

    I think the tests build as a separate process for each crate with tests

  41. mort

    https://codeberg.org/GramEditor/gram/pulls/621 I suspect that this will fix it, am waiting for compilation to confirm

  42. mort

    (This doesn't mean we shouldn't replace all of async_tar with either some async wrapper around a non-async tar crate or something like https://docs.rs/astral-tokio-tar/latest/tokio_tar/, I was working on this today anyway just to get rid of async-std)

  43. krig

    nice! I can’t merge today but will look at it again tomorrow

  44. mort

    No problem at all