libui-ng
panama-foreign
libui-ng | panama-foreign | |
---|---|---|
15 | 14 | |
561 | 269 | |
5.2% | -0.7% | |
6.8 | 10.0 | |
6 days ago | 7 days ago | |
C | Java | |
MIT License | GNU General Public License v3.0 only |
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.
libui-ng
-
Writing Gnome Apps with Swift
I remember a few years ago, a few really cool cross-platform UI libraries were starting to emerge such as libui [0] that got me excited. I've kind of lost track of them since then (libui itself went dormant for a while before this fork) so I am not sure how mature/useful they are now, but the potential for writing native desktop UIs in basically any language seemed like an absolute dream. Perhaps it's feasible for very basic things?
[0] https://github.com/libui-ng/libui-ng
-
Ask HN: Fastest cross-platform GUI stack/strategy
Linux/Windows/MacOS: https://github.com/libui-ng/libui-ng
- libui-ng – a portable GUI library for C
-
Zig instead of Rust.. and can it do these things?
There are a few libraries for GUI (for example, capy), and you can easily use any C libraries out there with @cImport (like libui), but it is still a work in progress.
- Libui-ng: a portable GUI library for C (fork of libui)
-
Is it possible to build a gui which is both cross compatible and native?
It exists, at least for simple use cases. You are looking for libui-ng. wxWidgets of course also exists, but it is less a basic native wrapper than it is a complete toolkit emulating what doesn't exist where as libui seems to be more lowest common denominator (not sure but I think there might be a small amount of emulation, but not like wx I don't think).
-
A lightweight, simple, fast, feature-filled, text editor written in C, and Lua
There's now libui-ng [1] which seems to be active and already has many wrappers
[1] https://libui-ng.github.io/libui-ng/
- Java 20 - Sneak Peek on the Foreign Function & Memory API (2nd preview)
- _why's Estate
- Libui-ng: Active fork of libui, a native cross-platfrom GUI SDK (+documentation)
panama-foreign
- Optimize Java to C string conversion by avoiding double copy
- QuickBuffers 1.1 released
-
Java 20: A Sneak Peek on the Panama FFM API
Going to copy my Reddit comment over to HN because I think it's valuable:
---
One of the coolest things that's been worked on (by this same author, no less!) isn't even in the article!
Per has written a pretty-printer for MemorySegments and ByteBuffers that can hex-dump memory or render memory/buffers as their "struct" representations given some MemoryLayout.
You can also customize it with your own printers, it's wicked cool and helps so much to debug buffers when working with them.
https://github.com/openjdk/panama-foreign/pull/695
What do I mean by that? Have a look at this comment for an image of a raw memory structure layout I represented with MemoryLayout, and the pretty-print rendering of it:
https://github.com/openjdk/panama-foreign/pull/695#issuecomm...
- Java 20 - Sneak Peek on the Foreign Function & Memory API (2nd preview)
-
Use JNI or are there other alternates?
[Here's the project github](https://github.com/openjdk/panama-foreign)
-
Panama foreign function overhead - how can it be improved?
I am not using any special flag (is there one?) but the overhead seems quite high, especially considering the explanation on how these methods are compiled https://github.com/openjdk/panama-foreign/blob/foreign-jextract/doc/panama_ffi.md
-
Possible to use Kotlin/Native to call Win API from Kotlin/JVM?
https://github.com/openjdk/panama-foreign/blob/foreign-jextract/doc/panama_jextract.md ..look at these examples
- It’s happening guys!
-
JEP proposed to target JDK 18: 419: Foreign Function & Memory API (Second Incubator)
I found the full context for the change written up here https://github.com/openjdk/panama-foreign/pull/554
-
Will scala-native run without a garbage collector?
Incentive for JVM devs? We know that C interoperability, malloc, free, structs are already supported on JVM natively since Java 14 with project panama's foreign-memory-api without JNI. I've been using sun.misc.Unsafe since Java8 and also LWJGL's C API.
What are some alternatives?
raygui - A simple and easy-to-use immediate-mode gui library
JNA - Java Native Access
nappgui - Cross-Platform C SDK (precompiled)
LWJGL - LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
Gtk4-tutorial - GTK 4 tutorial for beginners
SWIG - SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages.
libui - Simple and portable (but not inflexible) GUI library in C that uses the native GUI technologies of each platform it supports.
jextract - https://openjdk.org/projects/code-tools
nuklear - A single-header ANSI C immediate mode cross-platform GUI library
win32metadata - Tooling to generate metadata for Win32 APIs in the Windows SDK.
med - Micro Emacs in D
rust-bindgen - Automatically generates Rust FFI bindings to C (and some C++) libraries.