borodi
Re:NRC issues first U.S. construction permit for a BWRX-300 small modu...
on Wednesday September 30, 2026 @10:32AM (#49909544)
I'm not anti nuclear or anything like that. It's just the financial comparison one has to make. Currently competing with solar + batteries is hard since unlike SMRs which hypothetically will get cheaper, they are getting cheaper at a quick rate and don't have the history of cost overruns that nuclear does.
Re:NRC issues first U.S. construction permit for a BWRX-300 small modu...
on Wednesday September 30, 2026 @10:15AM (#49909316)
The gemini solar project in Nevada is 700 MW power + 4 hours of batteries at 380MW and cost 1.9 billion. Took 2 years and that was in 2022
Re:Fearless SIMD v1.0 is here
on Thursday September 24, 2026 @04:05PM (#49836117)
LLVM has range flags and things like nnan that could in theory be used to replace a minimum intrinsic into a minimumnum (iirc x86 has a instruction for the latter but not the former) https://llvm.org/docs/LangRef.html#floating-point-min-max-in... I'm not sure if the optimizations use this but in theory they could
Re:femtolisp: A lightweight, robust, scheme-like Lisp implementation
on Monday February 23, 2026 @09:27AM (#47122783)
Fun fact, Julia's parser and part of its compiler are implemented in femtolisp, and you can access it using a not so secret option in the Julia CLI.
Re:rr – record and replay debugger for C/C++
on Sunday July 21, 2024 @08:11AM (#41024521)
I havent tried Tsan with rr but msan and asan work quite well with it (it’s quite slow when doing this) but seeing the sanitizer trigger then following back what caused it to trigger is very useful.
Re:rr – record and replay debugger for C/C++
on Sunday July 21, 2024 @07:45AM (#41024391)
Chaos mode is an option when invoking rr that can expose some concurrency issues. Basically it switches which thread is executing a bunch to try and simulate multiple cores executing. It has found some race conditions for me but it’s of course limited
Re:Exact Binary Vector Search for RAG in 100 Lines of Julia
on Friday May 17, 2024 @06:49PM (#40394882)
There is, it's called count_ones. Though I wouldn't be surprised if LLVM could maybe optimize some of these loops into a popcnt, but I'm sure it would be brittle
Re:Std: Clamp generates less efficient assembly than std:min(max,std:m...
on Tuesday January 16, 2024 @10:41AM (#39014527)
So it was a bit more pervasive than this, the issue was that flushing subnormals (values very close to 0) to 0 is a register that gets set, so if a library is built with the fastmath flags and it gets loaded, it sets the register, causing the whole process to flush it's subnormals. i.e https://github.com/llvm/llvm-project/issues/57589
Re:Julia 1.10 Released
on Wednesday December 27, 2023 @01:50PM (#38785153)
btw, there has been a pretty nice effort of reimplementing the tidyverse in julia with https://github.com/TidierOrg/Tidier.jl and it seems to be quite nice to work with, if you were missing that from R at least
Re:Julia as a unifying end-to-end workflow language on the Frontier ex...
on Sunday November 19, 2023 @09:47AM (#38333090)
LLVMs API is the c++ one. The C one while more stable also doesn't support everything. Keeping up with LLVM is annoying but it's not the source of bugs or anything of the sort. PS(it's not actually stable. Because if the c++ code it calls is removed it just gets removed from the C one)
I say this as one of the devs that usually do the work of keeping up the latest LLVM.
Re:Julia leads Rust,Zig,Go and Java in data processing benchmark
on Wednesday October 11, 2023 @04:29PM (#37849861)
Julia follows semver, so code written in 1.0 should work on the latest release (packages notwithstanding)
Re:Cthulhu.jl – show type-inferred Julia code
on Thursday September 07, 2023 @05:45PM (#37426040)
It tries to show you the type information on the source itself, instead of on the IR.
Re:PackagingCon – a conference only for software package management
on Tuesday August 08, 2023 @09:31PM (#37057712)
I do believe this is an issue of not having explicit dependencies. Julia takes the approach of, we build and ship everything for every OS, which means Pkg (the package manager) knows about binary dependencies as well. Making things more reproducible in language
Re:Rust vs. Julia in Scientific Computing
on Monday July 24, 2023 @11:37AM (#36849710)
Julia does have really nice GPU support, being able to directly compile julia code into CUDA, ROCm, Metal or other accelerators. (Being GPU code it's limited to a subset of the main language)
Re:JuLox: What I Learned Building a Lox Interpreter in Julia
on Saturday June 03, 2023 @03:00PM (#36179523)
You can try and build your own toy language for fun, or try to compile lox to some assembly/llvm ir.
Another option is to try and contribute to an existing language (Julia ;) ).
Re:Julia 1.9 Highlights
on Wednesday May 10, 2023 @09:06AM (#35886779)
We used the chromium snapshot file format (https://learn.microsoft.com/en-us/microsoft-edge/devtools-gu...).
If firefox uses the same format then it should work, but I haven't tested.
Re:Mojo – a new programming language for AI developers
on Tuesday May 02, 2023 @01:17PM (#35790962)
I'm sure there are reasons for it, but Chris Lattner has been jumping around a bit. Remember swift4TF.
But hopefully this one is seen through with lots of open source too.
Re:My Journey from R to Julia
on Sunday January 29, 2023 @07:08AM (#34567349)
One interesting thing is that if julia can prove what types a function will be called with at compile time, it doesn't have to do dynamic dispatch, so it has no overhead. It's what the julia folks call type-stable code
Re:What's Great about Julia?
on Thursday December 08, 2022 @05:56AM (#33906563)
That's one of the cool things about Julia. If it can prove the types of the arguments to a function, or at least reduce them to a small set. It can do the dispatch at compile time.
Well, Julia has better than semi decent support for generics, since every function is by definition a generic.
Re:I Over-Engineered a Fast Fourier Transform for Arduino
on Friday November 25, 2022 @09:56AM (#33742921)
Veritasium has a recent video that goes into the algorithm a little bit. So does 3blue1brown. But basically anything that processes signals digitally will probably use the FFT somewhere. But even outside of that, you can use it for some kinds of matrixes in linear algebra and probably many other places :)
Re:The German School of Lisp (2011)
on Saturday November 12, 2022 @01:09PM (#33575461)
Julia has many of the features one expects of a lisp. But it has a more "normal" syntax
Re:Ask HN: Why do you hate (or love!?) your language's package manager?
on Saturday October 29, 2022 @11:16AM (#33384760)
SemVer is very important for me.
If the language has binary dependencies the package manager should also handle them. Depending on the system for them leads to hard to debug issues.
An easy way to reproduce environments is also important via a toml file or something similar.
Re:Celebrating 5 Years of Pop _OS
on Saturday October 22, 2022 @12:29AM (#33295672)
Pop has pipewire since 22.04 IIRC.
Re:A history of ARM, part 1: Building the first chip
on Sunday September 25, 2022 @09:16AM (#32971016)
LDP(load 2 registers) was switched in place of LDM, it seems that instructions that could touch so many registers at once made out of order/superscalar harder.
source: https://community.arm.com/support-forums/f/architectures-and...
Re:Julia 2.0 isn’t coming anytime soon, and why that is a good thing
on Monday September 12, 2022 @02:41PM (#32814858)
The group working on it, (Valentin, Tim Holy etc) agree with you, which is why we are tending to call it TTFX(time to first X) instead of TTFP, so it includes everything, not just plotting. It's just that when plotting the delay is very visible.
Re:Why Not: From Common Lisp to Julia
on Wednesday September 07, 2022 @11:09AM (#32751669)
--lisp mode just lands you in the REPL of femtolisp, which is used for the parser and lowererer. It's kind of an easter egg for sure.
The syntax sugar you are looking for "mutating" the immutable stricts is basically what Accessors.jl does.
I don't really see a reason to bring it into Base Julia if it doesn't need special things to work. The compiler can and will optimize out the stack allocation
Yes and no. There are ways around that for development like https://github.com/BeastyBlacksmith/ProtoStructs.jl.
But changing the definition of actual structs isn't very feasable because what happens with the structs that use the old definition, i.e an array of them.
Re:GCC Rust Approved by GCC Steering Committee
on Monday July 11, 2022 @12:01PM (#32057907)
Julia has an IR called Julia IR that is used before compiling to LLVM IR, it's a bit higher level than LLVM ir
Re:Memory safety for the world’s largest software project
on Sunday June 26, 2022 @07:26PM (#31889072)
Theoretically yes, rust binaries can have C-apis and other code can call them just fine.