Forwarded from Programming sucks
Perhaps one of the worst misfeatures of C is the ease with which responsibility for problems can be shifted to the person who wrote the code. “Oh, you segfaulted? I guess you forgot to check for
Clearly, computers can’t be expected to do everything for us. But they can be expected to do quite a bit. Programming languages are built for humans, and they ought to eliminate the sorts of rote work humans are bad at whenever possible. A programmer is already busy thinking about the actual problem they want to solve; it’s no surprise that they’ll sometimes forget some tedious detail the language forces them to worry about.
(с) https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
NULL
.” If only I had a computer to take care of such tedium for me!Clearly, computers can’t be expected to do everything for us. But they can be expected to do quite a bit. Programming languages are built for humans, and they ought to eliminate the sorts of rote work humans are bad at whenever possible. A programmer is already busy thinking about the actual problem they want to solve; it’s no surprise that they’ll sometimes forget some tedious detail the language forces them to worry about.
(с) https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
eev.ee
Let’s stop copying C
Ah, C. The best lingua franca we have… because we have no other lingua francas. Linguae franca. Surgeons general? C is fairly old — 44 years, now! — and comes from a time when there were possibly more architectures than programming languages. It works well…
#prog #python #article
Как слоты в Python — сугубо техническая вещь — мешает сегодняшнему языку и усложняет его, сдерживая развитие.
lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/
Как слоты в Python — сугубо техническая вещь — мешает сегодняшнему языку и усложняет его, сдерживая развитие.
lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/
lucumr.pocoo.org
The Python I Would Like To See
What I would imagine an better Python would look like.
Forwarded from Generative Anton
Я не эволюционный биолог, НО тут есть статья про СДВГ (синдром деффицита внимания и гиперактивности) и его эволюцию с палеолита. И в общем оказалось, что в палеолите СДВГ (или его предшественник?) было положительным критерием отбора. Более безумный - лучше выживал (реагировал на угрозы вероятно). Наука збс.
Цитата друга: если ебанутый, то можно просто говорить, что адаптировался к этому миру.
Я адаптировался, а вы?
Цитата друга: если ебанутый, то можно просто говорить, что адаптировался к этому миру.
Я адаптировался, а вы?
Nature
Genomic analysis of the natural history of attention-deficit/hyperactivity disorder using Neanderthal and ancient Homo sapiens…
Scientific Reports - Genomic analysis of the natural history of attention-deficit/hyperactivity disorder using Neanderthal and ancient Homo sapiens samples
#prog #rust
https://github.com/rust-lang/rust/pull/72437#issuecomment-650814084
const_if_match
стабилизировали! 🎉https://github.com/rust-lang/rust/pull/72437#issuecomment-650814084
GitHub
Stabilize `#![feature(const_if_match)]` and `#![feature(const_loop)]` by ecstatic-morse · Pull Request #72437 · rust-lang/rust
Quoting from the stabilization report:
if and match expressions as well as the short-circuiting logic operators && and || will become legal in all const contexts. A const context i...
if and match expressions as well as the short-circuiting logic operators && and || will become legal in all const contexts. A const context i...
Блог*
#prog Вы будете смеяться, но... Да, вы правильно догадались. leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-june-leetcoding-challenge
#prog
Очередной. Июльский.
https://leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-july-leetcoding-challenge
Очередной. Июльский.
https://leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-july-leetcoding-challenge
Leetcode
🏅November LeetCoding Challenge. New feature and rewards! 🏅 - LeetCode Discuss
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
Forwarded from шитпостинг.
"Производитель мороженого «Радуга» опроверг отношение продукции к ЛГБТ"
- к важным новостям
- к важным новостям
#prog #rust
Разработчик xi-editor оглядывается назад на историю разработки проекта, который сейчас уже не столь активен. Разбор по пунктам, что оказалось хорошими идеями, а что — не очень.
raphlinus.github.io/xi/2020/06/27/xi-retrospective.html
Разработчик xi-editor оглядывается назад на историю разработки проекта, который сейчас уже не столь активен. Разбор по пунктам, что оказалось хорошими идеями, а что — не очень.
raphlinus.github.io/xi/2020/06/27/xi-retrospective.html
#prog #rust #successstory
Статья об опыте использования Rust в софте для видеоконференций, который, по словам разработчиков, превосходит по малости задержки все альтернативные решения.
Experiencing no software-related downtime so far is both a pleasant surprise, and a testament to the safety provided by Rust's guarantees. Rust has also made it easy to write performant code with efficient resource usage - both our CPU and memory usage has been predictable and consistent. Without a garbage collector, we can guarantee consistent latency and frame rates.
Our experience maintaining a Rust codebase has also been great. We've been able to introduce significant improvements to our latency through sizable changes to our codebase with confidence. A clean compile doesn't always imply everything will work, but honestly, that's been the case more often than not.
blog.tonari.no/why-we-love-rust
Статья об опыте использования Rust в софте для видеоконференций, который, по словам разработчиков, превосходит по малости задержки все альтернативные решения.
Experiencing no software-related downtime so far is both a pleasant surprise, and a testament to the safety provided by Rust's guarantees. Rust has also made it easy to write performant code with efficient resource usage - both our CPU and memory usage has been predictable and consistent. Without a garbage collector, we can guarantee consistent latency and frame rates.
Our experience maintaining a Rust codebase has also been great. We've been able to introduce significant improvements to our latency through sizable changes to our codebase with confidence. A clean compile doesn't always imply everything will work, but honestly, that's been the case more often than not.
blog.tonari.no/why-we-love-rust
blog.tonari.no
3K, 60fps, 130ms: achieving it with Rust | tonari blog
How we chose the Rust programming language to advance the state-of-the-art in real-time communication
Блог*
no context
Что-то в основном всякую ерунду репостят. А ведь это даже не я сделал