I wonder how is the experience writing Rust or Zig with LLMs. I suspect zig might not have enough training data and rust might struggle with compile times and extra context required for borrow checker.
HN user
tejinderss
And the stock goes up 3%
Do you know any good default PRAGMAs that one should enable?
I dont know whats apple obsessions with thinness, instead they should focus on usability and battery life.
Working effectively with LLMs for writing code is an extremely deep topic.
There is a space for learning materials here. I would love to see books/trainings/courses on how to use AI effectively. I am more and more interested in this instead of learning new programming language of the week.
Here are some books I spent money on in the last 5 years
Would you recommend these books?
At my current place, using Redis with celery is becoming bottleneck for number of concurrent connections it can hold. We are using 1000 workers and start seeing issues (ceiling is 10k connections in Redis); apparently Celery creates huge number of connections. We are considering moving to RabbitMQ for same reason.
That being said, I wish there was a single consistent resource[1] that summarizes truly modern software design philosophy in the sense that it leaves the object orientation inspired ideas behind that did not turn out to be useful and focusses on typed functional programming. Maybe with examples in Typescript and Rust.
Not Rust or TS, but i found Java to Kotlin a decent book which provides refactoring of java OOP to more functional patterns. One of the authors Nat Pryce was big into OOP design and was also a co-author of famous book Growing Object Oriented Software by Tests.
One of the strengths python has is its ecosystem. All the languages you listed don’t come close to python’s ecosystem except perhaps TypeScript/nodeJS (whose quality of ecosystem is questionable although improving in recent times).
The keyword here is “mutable” config object and not config data object in general. I use immutable config dataclass liberally in one of my python projects and i pass it around in all modules. Many functions rely on multiple values and instead of passing all of them as function parameters (which requires their own function typings), the dataclass has all variables with typing definitions in one place, its pretty handy design pattern.
Try Deno, it compiles cli apps in distributable binaries
The downside as an expert is realizing you have to get a PhD to get a sense for how much RAM your cats will gobble up.
Go one step further with affine types and use Rust. You get haskell type system with predictable performance.
I am not sure if node is still a viable web backend runtime. When it released originally, it contended with the likes of django, and RoR, but now we have much saner options like Rust, Go, Elixir on backend, I am not sure if the original appeal is there any longer.
Edit: By “saner” option i meant more scalable, performant and maintainable using stricter types.
How does it compare to rust in your experience?
Thanks for sharing an article supporting my comments
No it does not. It’s saying that the corporate taxes are volatile and “should” not be relied upon, hence the cautionary tone of the article.
Edit: From the same article
Peter Vale, a tax partner at Grant Thornton, warned that the figures were “surprisingly poor” and indicated that “the risk of weaker corporation tax receipts in the key month of November increases. Poor November figures could erode much of the planned budget surplus.”
Ireland is no longer reliant on them, in that the country does not fund current expenditure from the CT take
https://www.irishtimes.com/business/economy/2023/09/05/corpo...
Ireland no longer relies on them
If Ireland has closed all the loopholes then why do the phantom exports (US subsidiary buying IPs) account for 38% of total exports of this year?
Now that Ireland has agreed to a global minimum corporate tax (CT) rate.
Provided that they dont find another loophole.
Edit: Someone asked for baseline, the phantom exports were 6 billion in 2012, they are 134 billion this year.
https://www.businesspost.ie/news/irish-phantom-exports-surge...
how successful the policies have been.
I don't know how these “successful” policies are sustainable if they are not playing level field with the rest of EU.
These sweetheart taxation deals should stop in Ireland and other tax havens. It benefits none; although on paper it looks that Ireland is doing too well, the reality is not that rosy for its residents.
Where have you moved if i may ask?
Housing crisis, wars, uncontrolled immigration, high taxation, crumbling infrastructure (atleast here in ireland), declining economies. You name it.
Good for you, i am having tough time here in Uk, Ireland though with 13 YOE
Getting recruiters contacting and getting the job offer are very different things in this climate.
Yeah but you have strict labour laws in Eu, which basically dont exist in india. This is wet dreams of the corporations.
Yes it does happen, search for r&d tax rebates, all Tech and Pharma companies apply for it, even though the work is not necessarily research one. I have worked in 3 MNCs and they all asked us to present our work as research instead of production
They will find another one after 15% rate too. The problem is not the effective rate (which is currently 12.5%) but that the companies are allowed to get away by paying 0% through the loop holes
Ireland
Good luck with finding housing here.
Why Go for web and not Typescript with nodejs/deno. The ecosystem is also huge and widely used. The type system is miles ahead of Go and is closer to rust. The async await is single threaded too.
Do you mind sharing where did you move to?
The author is no stranger to rust (he’s creator of rust-analyser). The reason why he’s pitching typescript here is due to its high level nature and doesnt have to deal with memory management, low level integer types etc.