Readit News logoReadit News
gauge_field commented on A 10x Faster TypeScript   devblogs.microsoft.com/ty... · Posted by u/DanRosenwasser
dimgl · a year ago
https://github.com/microsoft/typescript-go/discussions/411

There's more reactions here. I think devs have lost the plot, tbh.

gauge_field · a year ago
I am not sure if we see the same thread. There is one reaction from "Rust" dev (who seems have a very new account on github) on why not rust. Most of the others seem to be from C# side. The pattern also seems to be the same on reddit thread. There is one post about why not rust, equally (or more depending how you weigh) is how other people react to this news.

What is weird is how much people talk about how other people react. Modern social media is weird

gauge_field commented on Why Quantum Engineering Is Emerging as a Distinct Industrial Sector   spectrum.ieee.org/quantum... · Posted by u/rbanffy
grepLeigh · a year ago
I'd recommend starting with Quantum Computation and Quantum Information by Isaac Chuang and Michael Nielsen ("Mike and Ike"). It's the text used in most intro courses.

There's an "Intro to Quantum Mechanics" section that covers what's strictly necessary to understand quantum algorithms.

For lectures, John Preskill's lectures from the Quantum Computation course at CalTech: https://youtube.com/playlist?list=PL0ojjrEqIyPy-1RRD8cTD_lF1...

gauge_field · a year ago
You also need some foundation in Linear Algebra if you want to have better formal understanding of its underlying framework( which is Hilbert Space).
gauge_field commented on API design note: Beware of adding an "Other" enum value   devblogs.microsoft.com/ol... · Posted by u/luu
NoboruWataya · a year ago
> Just document that the enumeration is open-ended, and programs should treat any unrecognized values as if they were “Other”.

Possibly just showing my lack of knowledge here but are open-ended enumerations a common thing? I always thought the whole point of an enum is that it is closed-ended?

gauge_field · a year ago
Sometimes, one case where I made use of this is enumeration of uarch for different hardware to read from the host machine. The update for for new uarch type is closed ended until there is new cpu with new uarch, which is long time. So, for a very long time it is open-ended with very low velocity in change. It is ideal for enums (for a very long time), but you still need to support the change in list of enum variants to not break semver.
gauge_field commented on Effective Rust (2024)   lurklurk.org/effective-ru... · Posted by u/ibobev
worik · a year ago
> IMO it's not the right tool for high level stuff

I thought that for a long time. But as time passes and I spend more time in languages like Typescript (Semi-Type Script more accurately) and Swift the more I yearn for Rust.

It is not the right tool for scripting, true.

gauge_field · a year ago
Yeah I feel that, not the entire language but, many of its choices, like error handling, sum types (with exhaustive enum matching) especially when writing in python.
gauge_field commented on Effective Rust (2024)   lurklurk.org/effective-ru... · Posted by u/ibobev
johnisgood · a year ago
Rust is so full of symbol soup.

  <'_>)
is a very simple one, but there are ones with ~7 consecutive symbols, and there are a lot of symbols all over Rust code.

How come it is in demand?

Cool book though.

gauge_field · a year ago
Rust's design is designed to be more in the mentality of if it compiles that it is good enough, leaving less for runtime issues to occur unexpected, dictated by type and memory safety. So, it requires more type info (unless you use unidiomatic unsafe code) and talking with borrow checker. But, once you internalize its type system and borrow checker, it pays off if you care about compiler driven development (instead of dealing with errors in runtime).
gauge_field commented on Microsoft is Getting Rusty [video]   youtube.com/watch?v=1Vgpt... · Posted by u/weinzierl
KerrAvon · a year ago
Rust doesn't have a stable ABI for things that can't be expressed in C, so I assume he means when you're screwed when you want to publish Rust-specific interfaces to a shared library.

This is one area where Swift is far ahead of Rust, at least for now.

gauge_field · a year ago
The stable ABI is really tricky. Another pointer from another talk was about how stabilizing ABI might reduce the performance hash functions (which is used by the compiler) by 0.5%. So, it is really a tricky decision to make that involves doing the right tradeoff at the right point in time.
gauge_field commented on Math Academy, part 1: My eigenvector embarassment   frankhecker.com/2025/02/0... · Posted by u/gmays
3abiton · a year ago
Linear algebra applications resources. Something that I can follow up with examples.
gauge_field · a year ago
For me, it was introductory quantum mechanics (QM) books, you can go with MIT online course from Barton Zwiebach and online course from BLIS (This is for Rust/C implementation of BLAS). If you fall in love with QM and go for more rigorous formulation of its mathematical structure, you can follow it up with An Introduction to Hilbert Space by N. Young, which was the book used in my next semester for Hilbert Space Course.

Hilbert Space is the mathematical framework to describe QM systems.

gauge_field commented on Math Academy, part 1: My eigenvector embarassment   frankhecker.com/2025/02/0... · Posted by u/gmays
3abiton · a year ago
I really like your approach. Any resource recommendations?
gauge_field · a year ago
On what topic? Linear Algebra, Quantum Mechanics?
gauge_field commented on Math Academy, part 1: My eigenvector embarassment   frankhecker.com/2025/02/0... · Posted by u/gmays
resource0x · a year ago
As a math major, I scored a perfect 100 on my Linear Algebra exam in 1974. However, just two days later, I couldn't recall a single thing.

A few years ago, with ample free time, I decided to refresh my (nonexistent) memory by watching online linear algebra lectures from various professors. I was surprised by their poor quality. They lacked motivation and intuition. Khan Academy offered no improvement. Then, someone recommended Linear Algebra Done Right (LADR). I read it three times, and by the third iteration, I finally began to appreciate the beauty of the theory. Linear algebra is a purely algebraic theory; visual aids are of limited help. In short, if you have the time, I recommend reading LADR. Otherwise, don't bother.

gauge_field · a year ago
For me, the main solution was to apply it to another problem that uses Linear Algebra as Application, which in my case was Introductory Quantum Course and implementing BLAS using Rust and C. That way you keep thinking and using this info. Otherwise, information in vacuum seems to abstract to care about.
gauge_field commented on FAQ on Microsoft's topological qubit thing   scottaaronson.blog/?p=866... · Posted by u/ingve
tromp · a year ago
The quote that struck me was

> I foresee exciting times ahead, provided we still have a functioning civilization in which to enjoy them.

gauge_field · a year ago
If you are shocked by this, I suggest not reading his other recent topics.

u/gauge_field

KarmaCake day88September 28, 2024View Original