yuribro
Joined 13 years ago
Joined 13 years ago
You can spell out all your types into explicit structs (where you can choose between a simple implementation with a little worse performance or to make the implementation a little more complex) and pass them around.
There are many complex code bases (kernels & databases come to mind) which use C (not C++), and they don't resort to passing void* around the "business logic" parts.
The idea that for a complex project you would choose a different language with so many different characteristics due to a minor detail about the type system (this is not exactly Haskell vs JS...). This kind of decision making would not pass in any reasonable organization...
>> bellard is a programming genius and true C hacker. his works are so great ...
It's probably related. Obviously it's his and only his decision, but I wonder if him slowing down to share the knowledge and skills could have been more productive in the sense that others could do similar work.
It makes sense only if you'll ever need this scalability. And you take a hit on other fronts too: Infra cost, Deployment complexity. And both deployment complexity and code complexity also increase QA cost, instability, product and company reputation.
>> much like people don't often start with SQLite today
Maybe they should start with SQLite by default
If apple would have done that (for Maps and other services), how would it be different than Google?
Google offers these services for free to the end-user and generates revenue from ads.
Apple is using these services to sell more hardware devices, and generates revenue from there.
Should be interesting, especially if it can leverage lsp for the code analysis.
Salaries for developers are in the 60-80K EUR gross in DE[0]
The US median gross is <40K USD [1] and for software developers it is close to 100K USD (probably much higher is SV and major tech hubs, and much lower everywhere else) [2]
[0] https://teleport.org/cities/berlin/#salaries [1] https://en.wikipedia.org/wiki/Personal_income_in_the_United_... [2] https://money.usnews.com/careers/best-jobs/software-develope...