calo_star
Re:Great things about Rust that aren't just performance
on Sunday January 12, 2025 @01:49PM (#42675768)
> but for multi-threaded code Rust uses smart pointers like C++
That's not the whole story. There's also Send and Sync marker traits, move by default semantic also makes RAII constructs like Mutex<T> less error prone to use.
Re:C++ Is an Absolute Blast
on Tuesday December 24, 2024 @07:38PM (#42506026)
`std::optional<T>`'s style is more akin to using
if x.is_some() {
let x_value = unsafe { x.unwrap_unchecked() };
}
everywhere.
Re:Nanofiche: Small Storage, for Forever
on Sunday October 22, 2023 @06:58PM (#37979834)
Book-films!
Re:First 'tooth regrowth' medicine moves toward clinical trials in Japan
on Sunday July 02, 2023 @11:03PM (#36568255)
When can we have anything effective against tinnitus...
Re:Microsoft has no shame: Bing spit on my ‘Chrome’ search with a fake...
on Wednesday June 07, 2023 @01:45AM (#36223309)
No.
Re:Microsoft has no shame: Bing spit on my ‘Chrome’ search with a fake...
on Wednesday June 07, 2023 @01:44AM (#36223299)
Do you find any notable downsides to using Brave? I was with Kagi until they introduced limit to the 10$/month paid tier.
Re:Microsoft has no shame: Bing spit on my ‘Chrome’ search with a fake...
on Wednesday June 07, 2023 @12:04AM (#36222680)
> - Google has a number of "sponsored" results at the top of search results, which look identical to the actual search results, other than having a "sponsored".
That was the reason I switched away from Google. Here when I search "apache cassandra" the first result is something something free trial.
edit: I just tried with Bing it gave something similar, oh well.
Re:Apple Vision Pro: Apple’s first spatial computer
on Monday June 05, 2023 @09:28PM (#36206899)
> a hilariously negative caricature of a hypothetical experience using it.
That's what Apple has shown, no?
Re:Next Computers
on Monday May 08, 2023 @08:10PM (#35868647)
CoreGraphics often emphasizes it's ability to draw PDF, I guess that has to do with the Display PostScript lineage as well.
Re:Microsoft is to enable Rust use for Windows 11 kernel
on Friday April 28, 2023 @05:03PM (#35747084)
What would be the particular difficulty with intrusive linked lists?
Re:Ruby's Switch Statement Is More Flexible Than You Thought
on Wednesday April 26, 2023 @12:52PM (#35716687)
It's the same in Haskell, Erlang and Elixir.
Re:DuckDuckGo removed the ability to filter search results
on Monday April 24, 2023 @12:03AM (#35683533)
Bing also doesn't do "site:" queries properly it seems.
Re:Elixir and Rust is a good mix
on Thursday April 13, 2023 @11:30PM (#35565215)
Erlang processes indeed do cooperative multitasking under the hood, something like yielding control to the scheduler roughly every 1000 function calls.
Re:Italian privacy regulator bans ChatGPT
on Friday March 31, 2023 @07:35PM (#35395237)
Have they also banned TikTok?
Re:Understanding ChatGPT
on Sunday March 26, 2023 @02:14PM (#35317565)
By training it with a LOT of data, I suppose.
Re:Dpreview.com is coming to an end
on Tuesday March 21, 2023 @11:36PM (#35256498)
I'm rather sure that Amazon is a company that strictly makes the world a worse place.
Re:Meta staffers reportedly spar with Mark Zuckerberg after mass layoffs
on Sunday March 19, 2023 @10:18AM (#35219144)
I was hoping to see some sparring with Zuckerberg.
Re:Van Gogh, AMD’s Steam Deck APU
on Monday March 06, 2023 @05:20PM (#35048575)
They are not relevant, the author made a totally irrational choice by benchmarking under Windows, not realizing the Deck is marketed as a Linux machine first and foremost, and they should be ashamed of themself.
Re:Tesla's Next-Gen Electric Motors Will Get Rid of Rare Earth Elements
on Thursday March 02, 2023 @10:17PM (#35005376)
You could also just use 3-phase AC induction motor.
Re:Elixir for Humans Who Know Python
on Saturday February 25, 2023 @05:43PM (#34941211)
One thing I love about Elixir's syntax is that virtually everything is a call, take the if statement:
if condition do
IO.puts "true"
:yes
else
IO.puts "false"
:no
end
is just a call to the *Kernel.if/2* macro: if(true, do: (IO.puts("true"); :yes), else: (IO.puts("false"); :no))
I was joyous when I realized I could pipe stuff into a case statement.
Re:Instagram’s co-founders are back with Artifact, a kind of TikTok fo...
on Tuesday January 31, 2023 @05:22PM (#34603157)
Sounds like Xiaohongshu without pictures to me.
Re:Erlang's not about lightweight processes and message passing
on Saturday January 28, 2023 @01:29AM (#34555707)
Depending on the size of your component that can't be built in Erlang, you may be able to use NIF and throw it on the dirty scheduler.
Re:How the Xbox 360 knows if your hard-drive is genuine
on Tuesday January 24, 2023 @09:57PM (#34513822)
Not to mention that no design is absolutely safe, and if security enclaves like Pluton get exploited to run backdoor, it'll be a lot harder for end user to detect.
Re:New Chrome features to save battery and make browsing smoother
on Saturday December 10, 2022 @07:17AM (#33931949)
Safari's UI just isn't good for me.
Re:Lottie 4.0 for iOS: new render engine with significant performance ...
on Wednesday December 07, 2022 @08:00AM (#33893835)
Fascinating! I touched AppKit and Core Animation a long time ago and I had no idea this existed. Does this mean the gesture animations in iOS system (such as opening an app on springboard) are drawn by this?
Re:Lottie 4.0 for iOS: new render engine with significant performance ...
on Wednesday December 07, 2022 @12:37AM (#33890987)
How do you animate paths (morphing shapes) with Core Animation?
Re:Why I Program in Erlang
on Wednesday November 02, 2022 @02:44AM (#33432066)
I don't know anything about Ruby, but I'm curious, why so?
Re:Why I Program in Erlang
on Wednesday November 02, 2022 @02:39AM (#33432049)
I would even say Elixir IS Erlang, so is LFE.
Re:Why I Program in Erlang
on Tuesday November 01, 2022 @08:23PM (#33429834)
My hot take: Anyone who's new to the BEAM/ERTS/OTP ecosystem should just go learn Elixir instead: You get to learn Erlang for free, and you get to use nicer build system, package manager etc..