Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
faragon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
78 ms
·
781.
▲
by
faragon
11y ago
They should. There is no excuse: clang has it for free, Visul Studio, too (Express Editions, since 2013). Also, for Open Source projects Coverity is free.
782.
▲
by
faragon
11y ago
That's amazing. Doing the first step in assembly instead of C is quite overkill, in my opinion, but the whole thing is impressive. Kudos.
783.
▲
by
faragon
11y ago
Thank you. I'm glad that got fixed! (I dealt with that stuff more than 10 years ago) :-)
784.
▲
by
faragon
11y ago
Interviews requiring genius-level capabilities for doing boring daily trivial stuff. Quite deceptive. There is a rush in SAT and automated tests (e.g. hackerrank) stuff that is getting crazy. Anyway, no matter how good you do in SAT/pr
785.
▲
by
faragon
11y ago
Why previous generations didn't?
786.
▲
by
faragon
11y ago
Linux approach is very fast, and convenient for most cases. The only regret I have (had) is that working in that way, it brings some problems like different behavior on signal() versus most POSIX implementations (e.g. signal handlers on a
787.
▲
by
faragon
11y ago
Thank you for the consideration. Although the library targets safe and cross-platform code, I don't recommend you using libsrt on production code, yet. Rationale: the API is not yet finished, and it could have some changes that could b
788.
▲
by
faragon
11y ago
Yes, Kore don't use libsrt, although you could use it in your Kore user-modules (not all services are going to be trivial operations). And I agree, C strings is far from being a solved problem. In the case of libsrt strings, in additio
789.
▲
by
faragon
11y ago
Writing high level C applications can be easy, if you use a library that frees you from using dynamic memory on typical data structures (e.g. strings, vectors, sorted binary trees, maps). I'm developing a C library for high-level C cod
790.
▲
by
faragon
11y ago
Easy strings for C, with Unicode support (and as fast as std::string): https://github.com/faragon/libsrt
791.
▲
by
faragon
11y ago
I agree with you. Usually "agile" is used just as a religion: a mix of wishful thinking plus a way of pushing developers "because of the agile rules".
792.
▲
by
faragon
12y ago
Very well explained. I hope next parts will address screen scrolling, sprite animation, and "raster effects".
793.
▲
by
faragon
12y ago
Thank you, Mihai.
794.
▲
by
faragon
12y ago
Ubuntu and Fedora. Not because being the "bests", but because having better hardware support (from my point of view).
795.
▲
by
faragon
12y ago
Issuing up to 8 instructions per clock (3 in order, 5 OoO) is single-thread serious performance. It looks like is going to be much better than the NVidia Denver CPU (also 8 instruction/cycle, but all of them in-order). It will be scar
796.
▲
by
faragon
12y ago
Thank you.
797.
▲
by
faragon
12y ago
I tried to build it (Ubuntu 14.04), but fails (OCaml 4.01.0) after calling make: File "types.mli", line 11, characters 14-15: Error: Syntax error make: * [types.cmi] Error 2
798.
▲
by
faragon
12y ago
Thank you for the feedback. Which application do you need? (I could add it as example for the library)
799.
▲
by
faragon
12y ago
Author here. Suggestions?
800.
▲
Show HN: libsrt – fast C library with heap and stack allocation
(github.com)
8 points
by
faragon
12y ago
|
5 comments
801.
▲
by
faragon
12y ago
Hey, check the red black tree top-down implementation, it is beautiful. Great stuff from Julienne Walker.
802.
▲
by
faragon
12y ago
Room for optimizing compilers = distance between programming languages and CPU instructions/microarchitecture
803.
▲
by
faragon
12y ago
Well, in VS 2013 there was C99 language support, i.e. my C99 code compiled properly (while not in previous VS editions). I had to add minor modifications because the C library (e.g. %zu for printing size_t arguments -not sure if already cov
804.
▲
Eternally Confuzzled
(eternallyconfuzzled.com)
35 points
by
faragon
12y ago
|
10 comments
805.
▲
by
faragon
12y ago
Since MS Visual Studio 2013, VS supports C99. It looks like MS wanted to "deprecate" the C language. They seem to acknowledge their mistake in an implicit way, in my opinion.
806.
▲
by
faragon
12y ago
Android has many problems: - Poor event handling. - Braindead UI. - Braindead VM approach: WTF JIT on mobile devices??!!! Google: fuck fix the UI, fuck fix the VM bullshit, fuck fix bloating everywhere. NDK is not the solution: the proble
807.
▲
by
faragon
12y ago
After Sun Tzu's "Art of War", I recommend you Bertrand Russell's "The Conquest of Happiness" (1930) :-)
808.
▲
by
faragon
12y ago
Yes. Xenix was not a reimplementation, but a port.
809.
▲
by
faragon
12y ago
Oh. Microsoft reimplemented Unix, at last. Congratulations :-)
810.
▲
by
faragon
12y ago
If you get no respect where you work, just quit, as soon as you can.
More ›