HN user

albinahlback

13 karma
Posts0
Comments8
View on HN
No posts found.

Looks like Zen 5 will now have 3 integer multiplication ports? Hopefully that yields a reciprocal throughput of 2/3 of sequences of mulx instructions!

EDIT: With the 8-wide dispatch system, I suppose it can actually target Apple's silicon when it comes to asymptotics, no?

While I do think there are a lot of reasons to why one should not write in assembly, time-critical base routines can often benefit a lot from being written in assembly (take GMP's mpn-module for instance). However, this puts some constraint on how the code should be formatted (in GMP's case, this means that everything the mpz-module does is derived from the mpn-module), which cannot be said for all applications.

I've been interested to try out (Net|Open|Free)BSD for a while. I mostly code and compile C code. What should one expect when going from Linux to either of these BSD systems?

Great to see some opposition on this issue. As a swede, I have been baffled by the silence from Swedish media about this. Mullvad VPN has been bringing up this issue a lot, most notably in the swedish newspaper SvD [1], but also by advertisements in the Stockholm subway, but that's about it. Understandably the ongoing NATO process takes up a lot of headlines, but most of the other headlines are just about murders, unfortunately.

[1] https://www.svd.se/a/76mlxW/jan-jonsson-stoppa-forslaget-om-...

I presume you compile C/C++ code. How does your file structure look like? Do you have a lot of files with little to no content? You can speed things up by merging files. I have managed to reduce the building speed by around 95% by doing such simple things.

Reducing the amount of unnecessary headers is also beneficial, but in comparison to merging files it barely makes a difference.

Space Math 4 years ago

I think many of the ideas originates from the problem that many users of Latex does not know how to combine proper Latex formatting with stylistic code. The output should be nicely formatted, and given the code it should be very easy to see what it will produce.

As such, I do not like the second example with the code format int_5^20 4 x dx. The absence of backslash \ makes me think that "int" is a variable, "_5^20" is too tight for me, and dx also looks like a variable. Personally, I prefer typing \int_{5}^{20} 4 x \dd{x}, where \dd is your favorite differential typesetting (for me it is \mathop{}\!\mathrm{d}).

But I suppose it is only meant to be a substitute for MathJax and similar markup programs, and not actually Latex.