Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nu11ptr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
91.
▲
by
nu11ptr
10mo ago
> For faster startup, lower memory footprint and so on Any idea how they do this? My WSL2 starts insanely fast, like about 1-2 seconds. I've never seen a linux distro natively boot that fast. Assuming they suppress any sort of BIOS
92.
▲
by
nu11ptr
11mo ago
What a blast from the past. I recall my own experimenting with DJGPP and DPMI in my own software. It felt futuristic at the time. I was blown away. Another fond memory: I was playing Star Wars: Dark Forces (I think that was the one) and was
93.
▲
by
nu11ptr
11mo ago
I have tried it recently. It felt like I was coding Java. I realize "feel" isn't very objective, but I don't really like C-like languages in general. I like Rust, but only because of it's heavier FP-influence. C# is
94.
▲
by
nu11ptr
11mo ago
I was curious so I googled. Best I can tell it is still supported, but perhaps stagnant?
95.
▲
by
nu11ptr
11mo ago
IMO, C# is just a somewhat better version of Java (low bar) w/ first class Windows API support. I can't see myself ever adopting it for any real work. F# on the other hand seems a pretty awesome, terse and expressive language. Unf
96.
▲
by
nu11ptr
11mo ago
You can (and could have for a while now) just use Avalonia natively. It supports Windows/Mac/Linux/WASM natively already. I think this work is primarily for those who already have MAUI apps and want to target Linux/WASM
97.
▲
by
nu11ptr
11mo ago
Yeah, I probably should have been careful there. Good call out that not every "object" is necessarily a heap allocated entity. I learned something, thx.
98.
▲
by
nu11ptr
11mo ago
I admit it may just be because I'm a PL nerd, but I thought it was general knowledge that pretty much EVERYTHING in Python is an object, and an object in Python is always heap allocated AFAIK. This goes deeper than just integers. Thing
99.
▲
by
nu11ptr
11mo ago
I love Cursor. I've tried Copilot/Claude/etc. but keep coming back to Cursor. I just want to work, and Cursor tab complete is dang accurate, esp. for refactoring tasks.
100.
▲
by
nu11ptr
11mo ago
This looks great too! Hopefully one or more of these component libraries catch on and stay well maintained.
101.
▲
by
nu11ptr
11mo ago
Are any pieces of this open source by chance? (other than iced itself)
102.
▲
by
nu11ptr
11mo ago
I think this is pretty common on Linux. You would want to GTK (or Qt) I would think to draw the top level window and perhaps system menus, etc. even though the UI itself is drawn using a GPU canvas.
103.
▲
by
nu11ptr
11mo ago
I did some quick research. I knew Rust ABI was unstable, but I didn't realize you could create Rust ABI dynlib and Rust would automatically dynamically link it. For intra-app it would work just fine. Neat. Link: https://stac
104.
▲
by
nu11ptr
11mo ago
> The other thing you can do (which is popular in the Bevy community) is to compile the "core runtime" into dynamic library. Then you don't need to recompile that set of crates for incremental builds. I'm curious as t
105.
▲
by
nu11ptr
11mo ago
Cool. Any publicly available source code? If not, any screenshots at least? I'm curious as what Iced is capable of (with extra widgets/themes/etc. like you mentioned).
106.
▲
by
nu11ptr
11mo ago
That did seem excessive to me as well. I do worry about the DX of trying to work on an app with this. After each edit, I would expect a solid compile time to simply try your work.
107.
▲
by
nu11ptr
11mo ago
Ahh, gotcha. Yeah "enterprise" to me meant: "I can write/maintain a UI rich/polished enough to pass as a 'shrink wrapped' app to my end users". Thanks for the reply.
108.
▲
by
nu11ptr
11mo ago
Even though most UI libraries now draw their own widgets some native integration is almost always used/desired. Those integrations are typically: keyboard short cuts, native system menu (macOS), native file dialogs, and (sometimes) nat
109.
▲
by
nu11ptr
11mo ago
Pretty sure native as in "not web". AFAIK, everything is drawn using the various GPU APIs (GPUI started with Metal on macOS, for example).
110.
▲
by
nu11ptr
11mo ago
> I've been able to build incredibly rich, enterprise-ready UI with Rust today. Which UI crate did you use? The word "enterprise" caught my eye. So far I haven't found a Rust UI crate that I found rich enough, so I&#x
111.
▲
by
nu11ptr
11mo ago
This looks to be one of the most complete Rust UI creates (in terms of available widgets/components), but unfortunately has almost no usage (yet). I do see their docs are coming along now. Another very complete one is fyrox-ui used by
112.
▲
by
nu11ptr
1y ago
You are ALWAYS programming in abstractions. The raw JS code is JIT'd into machine code, for example, which most wouldn't know how to read/debug. The JS functions called are built in the browser and are trusted to function pro
113.
▲
by
nu11ptr
1y ago
I am in the same boat as my Rust compile times are solid. I'm good for now, but with the M4 max twice as fast, upgrading to the M5 max next year could be a tempting upgrade.
114.
▲
by
nu11ptr
1y ago
The step down from 32GB to 24GB of unified memory is interesting. Theories? Perhaps they decided M4 allowed too much memory in the standard chip and they want to create a larger differential with Pro/Max chips? Update: I am thinking th
115.
▲
by
nu11ptr
1y ago
While it might be useful for exploration/academic pursuit/etc., am I the only one who finds "conservative GC" a non-starter? Even if this was fully production ready, I had a use case for it, etc. I still would never ship
116.
▲
by
nu11ptr
1y ago
I personally hate full screen mode. Not sure why it bothers me so much to not see window decorations and menus, but it drives me crazy. I go out of my way to ensure they fill full screen, but just a maximum size, not full screen mode. To ea
117.
▲
by
nu11ptr
1y ago
There are definitely times it is useful. For example, a web browser with docs next to an IDE, or perhaps some other workflow where you are transcribing from one app to another. I will agree most of the time I do prefer full screen and use v
118.
▲
by
nu11ptr
1y ago
> That said, I wonder if GIL-less Python will one day enable GIL-less C FFI? That would be a big win that Python needs. I'm pretty sure that is what freethreading is today? That is why it can't be enabled by default AFAIK, as s
119.
▲
by
nu11ptr
1y ago
same here
120.
▲
by
nu11ptr
1y ago
Relevant cool, creaky old wooden door sound effect video from the same author: https://x.com/samhenrigold/status/1964428927159382261
More ›