adjav
Re:Should JavaScript be split into two languages? Google proposal divi...
on Saturday October 26, 2024 @03:52PM (#41957250)
PNaCL was essentially "let's shove LLVM into every browser and make it a mandatory part of the web", which somehow seems even worse than "let's shove the JVM into every browser and make it a mandatory part of web"
Re:25% of US/Canada trade depends on a single privately owned bridge
on Monday January 15, 2024 @10:21AM (#39001933)
It's now owned by his son, Matthew Moroun.
Re:25% of US/Canada trade depends on a single privately owned bridge
on Monday January 15, 2024 @10:19AM (#39001904)
It's been proposed to reopen passenger rail through the tunnel: https://windsor.ctvnews.ca/cross-border-passenger-rail-servi...
Who knows if it'll actually happen, but it's good to see that someone actually thinking about it for once.
Re:Roc – A fast, friendly, functional language
on Monday November 20, 2023 @11:40AM (#38350239)
Not really, no. Like Elm, it strips away practically everything that wasn't already in 1970s-era ML. It's much closer to a trimmed-down Ocaml than it is to Haskell.
Re:Trying out C++20's modules with Clang and Make
on Sunday October 15, 2023 @12:13PM (#37890973)
According to cppreference (https://en.cppreference.com/w/cpp/compiler_support/20), MSVC has everything implemented. GCC is close but its modules support remains lacking.
Re:Trying out C++20's modules with Clang and Make
on Sunday October 15, 2023 @12:04PM (#37890896)
Clang 18 supports `import std;` now, but you need to enable some build settings [1]. Also has `deducing this` support, which is nice - I am fully in favour of C++ continuing to poach the good parts of Rust.
Re:On (My) Caste
on Wednesday August 30, 2023 @08:38PM (#37331065)
They may not have talked about it to you, but that doesn't mean they didn't talk about it at all.
Re:If Web Components are so great, why am I not using them?
on Wednesday August 02, 2023 @10:50PM (#36980802)
HTML imports required JS to be used - otherwise all you had was a `link`ed DOM tree that you couldn't access. No one has really proposed a way to dynamically load anything without JS AFAIK.
Re:Battery-electric “Infinity Train” will charge itself using gravity ...
on Monday July 31, 2023 @12:24PM (#36945004)
Yeah, but that does require a fair bit of additional infrastructure, running overhead wires and having it connected to the power grid. Makes sense in populated areas, but for mining trains in Australia, potentially 1000s of kms from the nearest city? This seems like a reasonable alternative
Re:TypeScript please give us types
on Friday July 07, 2023 @05:10PM (#36638339)
My understanding has long been that web developers have decided to turn Javascript into C#, one proposal at a time.
Re:Canadian government pulls all advertising, escalating showdown with...
on Wednesday July 05, 2023 @02:16PM (#36604685)
Given that's exactly what ended up happening in Australia I wouldn't be surprised.
Re:Canadian government pulls all advertising, escalating showdown with...
on Wednesday July 05, 2023 @02:15PM (#36604664)
> The right one is a tax that funds a subsidy for news.
The thing here though is that the Canadian government already does this. I really don't understand their logic with introducing this fee vs just raising the existing subsidy directly.
Re:Canadian government pulls all advertising, escalating showdown with...
on Wednesday July 05, 2023 @01:45PM (#36604080)
Note: This article is by the National Post, which is owned by PostMedia, who were one of the main backers of bill C18. Just something to keep in mind.
Re:Canada’s Bill C-18 and Our Search and News Products
on Thursday June 29, 2023 @05:32PM (#36527036)
Reddit and Apple News will have the law applied to them as well, since the law doesn't include a list of sites affected, just the criteria under which affected sites fall.
Re:Canada’s Bill C-18 and Our Search and News Products
on Thursday June 29, 2023 @05:24PM (#36526939)
Oh no, it's not just Google and Meta. That's how it's being presented, but it's actually whoever the CRTC wants to charge. They can and will change the list at any time, with no need for oversight.
Re:Canada’s Bill C-18 and Our Search and News Products
on Thursday June 29, 2023 @05:21PM (#36526897)
Yeah, the biggest winner under the Canadian law will be the American hedge funds who own PostMedia, the company that owns the vast majority of Canadian newspapers. But that's good apparently, since at the least the money doesn't go to those icky tech nerds.
Re:Programming Languages Going Above and Beyond
on Thursday June 29, 2023 @09:45AM (#36520312)
You might want to look in Lean 4 at some point too. A lot of work has gone into making it's theorem solving ergonomic and approachable for average programmers.
Re:Texas professor fails entire class from graduating- claiming they u...
on Tuesday May 16, 2023 @12:24PM (#35964094)
The Reddit OP posted the prof's name, they really are an agricultural sciences professor at Texas A&M. If this is made up then it's one hell of a way to defame someone.
Re:Texas professor fails entire class from graduating- claiming they u...
on Tuesday May 16, 2023 @12:21PM (#35964042)
It can certainly make up things that look like citations. It definitely cannot produce a series of valid inline citations for specific quotes, rephrasings, or statistics.
Re:Wikipedia users edits over 90k uses of “comprised of”
on Saturday May 06, 2023 @11:36AM (#35842373)
That's like saying Classical Latin has been meticulously preserved. Technically true, but entirely irrelevant.
Re:Wikipedia users edits over 90k uses of “comprised of”
on Saturday May 06, 2023 @11:28AM (#35842298)
There is no "standard English." There sure as hell isn't a consensus that "comprised of" is incorrect, or it wouldn't have been used over 90k times.
Re:The seven programming ur-languages (2021)
on Thursday May 04, 2023 @12:07PM (#35817665)
ALGOL has certainly influenced the development of FORTRAN at least, with Fortran 90 and later fitting in pretty neatly amongst the various ALGOL-likes.
Re:Waterloo Style
on Sunday April 30, 2023 @10:05AM (#35762647)
Is the term 'data-oriented design' not widely known? That seems to be largely what is attempting to be described here.
Re:Why did 250k Britons die sooner than expected?
on Sunday March 12, 2023 @09:53PM (#35129712)
Britain did significantly worse than it's peer nations in that decline, though. Clearly the rate doesn't have to be this low.
Re:An East African Kingdom Changed T Roosevelt and the Course of Ameri...
on Saturday March 11, 2023 @02:13PM (#35111566)
It only mentions it in the first few paragraphs. Not the greatest framing, but it's a pretty interesting article over all.
Re:Mozilla solves the Manifest V3 puzzle to save ad blockers from Chro...
on Saturday February 18, 2023 @03:51PM (#34850960)
It's not that the add-ons were slow, it's that the architecture built to support those add-ons made the browser as a whole inherently slow. Everything was quite siloed, and required a series of dynamic dispatches to accomplish anything. This allowed extensions to easily change lots of core functionality, but also meant that the entire Firefox codebase had become a public API, and practically any change made would break something.
Re:Stride – Open-source C# Game Engine
on Sunday February 05, 2023 @03:03PM (#34668631)
> Stardew Valley, Celeste, Bastion
Those are all games where the average frame time is so low GC pauses are basically irrelevant.
And Minecraft was re-written in C++ for a reason.
Re:HelloSystem – OS with original Mac philosophy with a modern archite...
on Wednesday January 25, 2023 @07:37PM (#34526293)
Considering Wine and ReactOS exist, I assume that'd be doable.
Re:Beyond Functional Programming: The Verse Programming Language [pdf]
on Sunday December 11, 2022 @07:27PM (#33949288)
Well, a variable in usual Math usage, just not the traditional imperative sense.
Re:Rust Is Hard, Or: The Misery of Mainstream Programming
on Friday June 03, 2022 @01:22PM (#31611132)
I will note that Rust has all of those features you mentioned.
1) Traits
2) You have to be explicit, by implementing the Clone trait, otherwise arguments are passed by reference or moved.
3) Rust has both RAII and linear typing, which is effectively a proven-correct form of moves - you can't access something that has been moved, unlike C++.
Rust doesn't have class inheritance, no, but often combining traits and delegating to a "parent" field works. Although sometimes that can be considerably more cumbersome, yeah.