Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hgs3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
hgs3
2y ago
Is this the version of "generics" the C committee is leaning towards? Last I checked there were at least three other proposals [1] [2] [3]. [1] https://www.open-std.org/jtc1/sc22/wg14/www/docs&#
62.
▲
by
hgs3
2y ago
It's worth mentioning that there are dedicated processors, like m4, and templating engines, like Jinja, if you need something battle-tested.
63.
▲
by
hgs3
2y ago
Is the FreeType2 test suite public? It looks like the project's tests/ directory only contains a script for downloading a single font [1]. They have a fuzz test repo with what appears to be a corpus of only a few hundred tests [2]
64.
▲
by
hgs3
2y ago
Python's complexity has been increasing since Guido stepped away and it is off-putting. The language is still nowhere near as complex as Ruby or others, but I am keeping my eyes open for alternatives.
65.
▲
by
hgs3
2y ago
Agreed. C, Go, Python, and Lua are my go-to languages because of their simplicity. It's unfortunate, but in my opinion, most mainstream languages are needlessly complex. In my experience, whether it's software architecture or prog
66.
▲
by
hgs3
2y ago
> Be aware that the AGPL license might be a problem for many people. Nothing prevents the author from selling closed-source licenses, as long as they retain sole copyright over the code.
67.
▲
by
hgs3
2y ago
> I'm not about to hand off anything I pour months and years into to my competitors for free. Library authors can pour "months and years" into their projects, and yet you expect them (but not yourself) to give away their c
68.
▲
by
hgs3
2y ago
Commercially speaking, the target audience is embedded developers. It's FOSS because, a few months back, I released a MISRA compliant Unicode algorithms library [1] and I received comments on HN asking why it wasn't under a FOSS l
69.
▲
by
hgs3
2y ago
Embedded systems are the primary use case, but any safety critical system would presumably want this. My focus wasn't speed, but rather high-assurance. On a resource-constrained embedded system, you're likely not working with huge
70.
▲
Show HN: I built a JSON and JSON5 parser with MISRA C conformance
(railgunlabs.com)
6 points
by
hgs3
2y ago
|
4 comments
71.
▲
by
hgs3
2y ago
C2Y, the next C revision, introduced "enable safe programming" into the C standard charter [1]. The C committee is eager for proposals like this. Adding a new feature, like slices, as a Clang extension would be considerably faster
72.
▲
by
hgs3
2y ago
C is still evolving. Instead of creating a new C dialect, why not try improving C itself? You can prototype new features with Clang and submit a technical proposal to the C committee for review. Regarding "memory safety" specifica
73.
▲
by
hgs3
2y ago
There's also a reimplementation of the original Dark Forces [1]. [1] https://github.com/luciusDXL/TheForceEngine
74.
▲
by
hgs3
2y ago
> It would be less problematic if used for different purposes or layers, like frontend and backend. Wouldn't a microkernel architecture shine here? Drivers could, presumably, reside in their own projects and therefore be written in
75.
▲
by
hgs3
2y ago
> Also, C programmers don't seem to use any package managers other than the default system package manager and maybe git sub-modules (at least, not that I know of). For what it's worth, as someone who primarily writes C, not C+
76.
▲
by
hgs3
2y ago
Some additional points of interest: Quake level designers could use "hint" brushes to help the BSP compiler determine where to create cells. Starting with Quake II, designers were able to place "area portals" which are p
77.
▲
by
hgs3
2y ago
Isn't some of what you're describing a critique of walled garden platforms rather than web vs native? e.g. When I self-publish a native desktop app, I can pick the DRM, code updater, and payment processor I use.
78.
▲
by
hgs3
2y ago
I've been using Vultr for the past 6-ish months and I've been happy with them. They have great prices for what you get. Sadly, I feel that review sites often skew negative because I think people are more motivated to find time to
79.
▲
by
hgs3
2y ago
Nice project! Do you think you'd ever support a "live preview" or "hot reloading" of the UI or is that beyond the scope of the project?
80.
▲
by
hgs3
2y ago
It's supply and demand economics: if there is a low supply of workers and a high demand for them, then employers are supposed to compete for them with more pay, more benefits, training/education, etc. When the supply of workers is
81.
▲
by
hgs3
2y ago
You can download a prebuilt amalgamation from GitHub to see the amalgamated C code [1]. The GitHub repo contains the code that generates the amalgamation. [1] https://github.com/railgunlabs/unicorn/releases/
82.
▲
by
hgs3
2y ago
I appreciate the kind words. When I was designing the website, I wanted to inject my personality into it. I wasn't sure how well the "playfulness" would go over, but I'm glad you enjoyed it.
83.
▲
by
hgs3
2y ago
> This is commercial only. You can use Unicorn for non-commercial use [1], but yes, for commercial use you need to buy a license. > It's much faster to use precomputed tables per algorithm You're absolutely right about using
84.
▲
by
hgs3
2y ago
Thanks for the suggestions. I think a comparison table would be useful, but I want to make sure I do it right since I'd be comparing my work to someone else's. As for the compilers, I’ve tested the library with GCC, Clang, and MSV
85.
▲
by
hgs3
2y ago
Primarily, companies developing for embedded systems or other resource constrained devices.
86.
▲
by
hgs3
2y ago
This is the most ironic typo I've ever made. Thanks for the catch. I've corrected it.
87.
▲
by
hgs3
2y ago
I went back and forth on this and in my uncertainty I decided it was better to start more "closed" first with the potential to become more "open" over time.
88.
▲
by
hgs3
2y ago
> I would like to know how does it compare against ICU ICU is a large library, typically around ~40 MB depending on the platform, whereas Unicorn, with all features enabled, is only about 600 KB. ICU has a broader scope: it's not ju
89.
▲
by
hgs3
2y ago
Unfortunately, the entire reason I didn't release Unicorn under an OSI approved license is because I see many (most?) FOSS projects are chronically underfunded. Now, I did not quit my job and build this to get rich or anything, but I d
90.
▲
by
hgs3
2y ago
Thank you, let me know if you have any questions.
More ›