HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tirrex

no profile record

Submissions

A simple Minecraft clone written in C using modern OpenGL

github.com
47 points·by tirrex·3 ปีที่แล้ว·3 comments

Sandboxie: Sandbox-based isolation software for Windows NT-based OS's

github.com
131 points·by tirrex·4 ปีที่แล้ว·33 comments

Common libraries and data structures for C

github.com
322 points·by tirrex·4 ปีที่แล้ว·141 comments

Xv6 for RISC-V

github.com
5 points·by tirrex·4 ปีที่แล้ว·0 comments

Command Line Video Player

github.com
93 points·by tirrex·5 ปีที่แล้ว·34 comments

Decompilation of the Legend of Zelda: Ocarina of Time

github.com
2 points·by tirrex·5 ปีที่แล้ว·0 comments

An 8-bit minicomputer with a fully custom architecture

github.com
82 points·by tirrex·5 ปีที่แล้ว·31 comments

Minecraft, but I made it in 48 hours

github.com
2 points·by tirrex·5 ปีที่แล้ว·0 comments

A completely-from-scratch hobby operating system

github.com
297 points·by tirrex·5 ปีที่แล้ว·72 comments

Melon C Framework Library

github.com
3 points·by tirrex·5 ปีที่แล้ว·0 comments

comments

tirrex
·4 ปีที่แล้ว·discuss
I think chair is the most important part. It looks so comfortable.
tirrex
·4 ปีที่แล้ว·discuss
Exactly. Is there any benefit running mysql instead of sqlite for Wordpress? Feels like default db should have been sqlite all along.
tirrex
·4 ปีที่แล้ว·discuss
When did this happen? Is it new?
tirrex
·4 ปีที่แล้ว·discuss
Are they using four photos or more?
tirrex
·4 ปีที่แล้ว·discuss
This should be improved further. Add a scanner to read handwritten answer and post it as the response.
tirrex
·4 ปีที่แล้ว·discuss
https://github.com/tezc/sc/tree/master/map

For those who are interested in faster hashmaps, I tried bunch of hashmaps and this one performs better than others. This is for C. Maybe C++ has better hashmaps.
tirrex
·4 ปีที่แล้ว·discuss
I can pay for a search engine service if it blocks paywalls, bloated sites, fake bullshit clickbait contents. It’s time consuming to find what you’re looking for with Google. Unfortuanetely, there is no alternative.
tirrex
·5 ปีที่แล้ว·discuss
How are they going to make money and support the development?
tirrex
·5 ปีที่แล้ว·discuss
> And how much impact does it have on runtime performance? Well even computing a sum for a relative small number 1000, according to cppbench, the signed version is 430X faster.

Although you can find these kind of examples for a few lines of code snippet, the question is what is the impact on overall program? Nowadays, I guess it has no impact for almost all programs. Because memory access patterns, system call overhead, operating system interaction etc. have much more impact on overall performance compared to optimizations enabled by undefined behaviors.
tirrex
·5 ปีที่แล้ว·discuss
Thanks, I’ll take a look.
tirrex
·5 ปีที่แล้ว·discuss
Too much marketing. Don’t get me wrong but I’m lost among “fast, scalable, low latency, high throughput” marketing paragraphs and images.

There are links to other websites(company website I guess), it is same unfortuanetely.

Please consider adding sections/pages about “how did you do it, benchmarks supporting your claim, what is different in your product compared to ndb” etc. If there are links to these somewhere, you may want to make it more visible in your front page.
tirrex
·5 ปีที่แล้ว·discuss
Some companies have no AGPL policy.

e.g : https://opensource.google/docs/using/agpl-policy/
tirrex
·5 ปีที่แล้ว·discuss
I agree, “!” is something easy to miss. I prefer “!=“ mostly for this reason.

I am just surprised I’ve never seen this in any code base before.
tirrex
·5 ปีที่แล้ว·discuss
Isn’t it type safe? e.g you can’t add char* to a double array.

What do you mean by broken alignment?
tirrex
·5 ปีที่แล้ว·discuss
What is the purpose of this? Does anybody find these more readable?
tirrex
·5 ปีที่แล้ว·discuss
For a vector alternative, I find this one easy to read and use :

https://github.com/tezc/sc/tree/master/array

It is just an array of your type, e.g int *numbers, so you have type info in debugger as well.
tirrex
·5 ปีที่แล้ว·discuss
fast, simple, scalable, modern, high performance, easy to use, enterprise-grade, secure, production-ready, new generation, lightweight ...

These are common words I see in the first paragraph of readmes. If people can avoid these, they’ll write better introductions. No marketing, no subjective words. Otherwise, I feel like someone is trying to sell me that product.
tirrex
·5 ปีที่แล้ว·discuss
It would be great if author points us a few READMEs he likes. So, people can avoid many issues before asking for review.
tirrex
·5 ปีที่แล้ว·discuss
I agree with you.

Actually, Java has great tooling, JVM is very nice, it has great potential for high performance code generation. It has everything for debugging. But at the end of the day, language is driving people to write bloated software.

I just wonder, how come e.g Linux kernel code 100 times more readable than any project in Java? More importantly, how did we come to this point that we accept bloated/unreadable code in the name of higher/better languages?
tirrex
·5 ปีที่แล้ว·discuss
Java style verbosity hurts readability. That’s the most important issue with Java imho.

Take a look at a http server one in Java and one in C. Readability difference is crazy.

My company is in transition from Java to C, for bunch of stuff just for performance reasons. So, I debug similar projects time to time both in Java and C, http server, in memory cache, iot server etc. After seeing both, I just think although Java has great tooling, it drives developers to write unreadable code.