Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Laya the open source version of Jev(convaiinnovations.com ↗)
    142comments
  2. A graphical desktop for the ZX Spectrum(github.com/mindbox77 ↗)
    53comments
  3. AI-generated posters don’t have to be horrible(john.hartnup.uk ↗)
    462comments
  4. Human brain is two separate organs, Stanford Medicine-led research finds(stanford.edu ↗)
    182comments
  5. Tin: full-text search for Postgres(planetscale.com ↗)
    43comments
  6. Supabase (YC S20) Is Hiring for OrioleDB(supabase.link ↗)
    discuss
  7. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    37comments
  8. “The Secret Life of Circuits” is here(coredump.cx ↗)
    51comments
  9. Black Holes or Black Hole Stars? Astronomers Spar over 'Little Red Dots'(quantamagazine.org ↗)
    14comments
  10. I built the fastest PHP webserver in the world(qbixserver.com ↗)
    32comments
  11. Android 17 is the first since 3.x to add new APIs without releasing to the AOSP(grapheneos.social ↗)
    552comments
  12. San Francisco Onion Futures Company(onionfutures.com ↗)
    117comments
  13. New evidence for hidden chambers beyond Tutankhamun's tomb(nature.com ↗)
    5comments
  14. GPT-6 Astra Solves a WWI German Radio Cipher(prinzai.com ↗)
    132comments
  15. If math is more than proof, we need to better celebrate the rest of it(terrytao.wordpress.com ↗)
    193comments
  16. What Zig felt like, coming from Rust(besok.github.io ↗)
    108comments
  17. Agreement between the USA and Denmark (1951,2004) [pdf](state.gov ↗)
    16comments
  18. Cloudflare Quick Tunnels(cloudflare.com ↗)
    301comments
  19. How to Write with an LLM(sockpuppet.org ↗)
    360comments
  20. You can run Git on object storage if you re-make packfiles(tigrisdata.com ↗)
    24comments
  21. Saving another 100TB of RAM(cloudflare.com ↗)
    90comments
  22. Communication by means of modulated Johnson noise(pnas.org ↗)
    19comments
  23. SDCC – Small Device C Compiler(sourceforge.net ↗)
    23comments
  24. Ray Ozzie and the Optimism of Being Early(reproof.app ↗)
    11comments
  25. Science Is Open Software(jepedersen.dk ↗)
    51comments
  26. Why building a Rust LSP is hard(rust-glancer.github.io ↗)
    44comments
  27. The first new cat species discovered in 100 years(nationalgeographic.com ↗)
    123comments
  28. OpenJev(openjev.com ↗)
    280comments
  29. Ctenophores: Wonders of Biology(quantamagazine.org ↗)
    8comments
  30. From Stonemasons to Carpenters(thelastsoftwareengineer.substack.com ↗)
    4comments

ImGUI Ported to a LiteX SoC

54 pointsby 3y agogithub.com
12 comments
3y agoHN ↗

That's really neat! ImGUI has got to be one of the most satisfying GUI libraries to use, its fast, versatile and looks absolutely beautiful, so spreading it to even weird places is great!

3y agoHN ↗

It's an absolute joy to use. If only all libraries could be so well-made.

3y agoHN ↗

ImGUI is great, but i wouldn't call it "versatile", it's too rigid to be versatile

It's too focused on desktop (mouse/kb), and you can't really theme it other than its colors and shape of the edges, doesn't support animations and you can't style the font, it's pretty basic

Creating custom controls is a ton of work

Then you have libraries like this: https://lvgl.io/ (gh: https://github.com/lvgl/lvgl)

That's what i call a versatile GUI library

3y agoHN ↗

I would consider the lack of support for animations a feature, not a limitation.

3y agoHN ↗

Versatile: "able to adapt or be adapted to many different functions or activities."

I never mentioned "limitation", ImGui is great for what it is, i wouldn't use lvgl to build my engine tools, i use ImGui actually

3y agoHN ↗

Dear ImGui is coming out of the game dev world and is mainly intended for specialised UI tools and debugging/profiling overlays in 3D games (or generally 3D apps), and for that use case it's just perfect and fixed a longstanding problem (for gamedev inhouse tools, it essentially killed C#/WPF and Qt overnight).

3y agoHN ↗

dear imgui is versatile in that it can be used in the sorts of programs that haven't traditionally been well served by existing desktop GUI libraries. (It also has a very convenient API that means you can cobble these GUIs together much more quickly than with most other libraries. So that's helpful too.)

lvgl looks like something you'd use for making the UI for the actual product. dear imgui is for the debug tools that get stripped out of the version you release. It's not intended for user-facing use, so there's no significant support for anything visually interesting. (The actual appearance of the UI isn't really even all that important. It just has to be not too weird-looking.)

3y agoHN ↗

Extremely cool! LiteX is such a nice tool compared to how things used to be

3y agoHN ↗

What kind of background would someone using LiteX have?

3y agoHN ↗

Building SoCs with FPGAs, probably would have used chip planner or whatever the vivado equivalent is for amd/xilinx. LiteX makes SoC design really accessible at a hobby level compared to those tools.

3y agoHN ↗

Interestingly there are no modification of the core Dear ImGui library involved. It's using a software renderer, which have been available already e.g. that one had been optimized to run on ESP32 https://github.com/LAK132/ImDuino

They are really cool/fun setup as well as being proofs of the portability of Dear ImGui but I imagine probably a little too taxing for the SoC involved. In the sense that if you were to want to use more of the SoC computational power it might feel like an unbalanced amount of resources to allocate to a GUI library (which normally expects a GPU).