GCC-rust: A (WIP) Rust front end for GCC

Rust frontend for GCC Build instructions: (Be warned, these are currently rather rough.) Build Rust with this patch: https://github.com/rust-lang/rust/pull/67126 mkdir gcc cd gcc git clone -b rust https://github.com/sapir/gcc-rust/ gcc-src (cd gcc-src/gcc/rust/gcc-rust; cargo build) mkdir gcc-build cd gcc-build ../gcc-src/configure --prefix=$(pwd)/../gcc-install --enable-languages=c,c++,rust --disable-multilib --disable-bootstrap make make install cd .. gcc-install/bin/gcc whatever.rs -o whatever This directory contains the GNU Compiler Collection (GCC). The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The installation information includes details of what is included in the GCC sources and what files GCC installs. Copyright years on GCC source files may be listed using range notation, e.g., 1987-2012, indicating that every year in the range, inclusive, is a copyrightable year that could otherwise be listed individually.

Link  |  View on HN

The Product-Minded Software Engineer

I've worked with many great product-minded engineers and consider myself to be this kind of developer. At companies building world-class products, product-minded engineers take teams to a new level of impact. Teams who are working on user-facing features, collaborating with product managers are environments where product-minded engineers can have a huge impact. So, what are the key traits of product-minded engineers, and how can you work on becoming more product-minded? Interest in the business, user behavior and data on thisWhen coming with ideas, product-minded engineers don't just get these from thin air.

Link  |  View on HN

Reducing the Performance Gap of Intel's MKL on AMD Threadripper

In a recent post "AMD Ryzen 3900X vs Intel Xeon 2175W Python numpy - MKL vs OpenBLAS" I showed how to do the first method using OpenBLAS and how bad performance was with AMD when using MKL. The short story is that Intel checks for "Genuine Intel" CPU's when it's numerical library MKL starts executing code. In any case it has been making the rounds on forums recently as a solution for getting MATLAB to perform better on AMD CPU's (other use cases too). The best solution for running numerical intensive code on AMD CPU's is to try working with AMD's BLIS library if you can. --dbk @dbkinghornPuget Systems Hardware PartnersTags: Ryzen, Python, Scientific Computing, AMD, numpy, BLAS, Threadripper

Link  |  View on HN

Hash – Complex Systems Simulation

About HASHBacked and built by industry veterans, including the founders of the largest developer and data science communities in the world, we’re building the end-to-end platform for simulation. We’re on a mission to unlock simulation as a useful tool for everyday decision-making by abstracting away the complexities of creating models today: from data sourcing and behavior validation to parallel processing and distributed computation. Tools to understand that data have to be open, and accessible, as well. Simulation helps people make sense of complex systems, make safe predictions, and process the world around them. We can’t risk a world in which this technology rests solely in the hands of a few.

Link  |  View on HN

Show HN: GoCode.io – A Golang Game in the Browser

Link  |  View on HN

The rise and fall of the PlayStation supercomputers

The game consoles entered the supercomputing scene in 2002 when Sony released a kit called Linux for the PlayStation 2. The PlayStation 4 outsold both the original PlayStation and the Wii nearing the best-selling status currently held by the PS2. “We weren’t really motivated to do anything with the PlayStation 4.”The era of the PlayStation supercomputer was over. The UMass Dartmouth machine is smaller than it used to be at its peak power of about 400 PlayStation 3s. Some are still working together in smaller supercomputers at other schools; others have broken down or been lost to time.

Link  |  View on HN

How to Match “A B C” where A+B=C: The Beast Tamed (2018)

the rest of the digits in A that match up with those in B and C. # \3 = "", ie. the extra digits in B if B is longer than A. the extra digits in C that match up with the longer of A and B. We need to add 1 to extra digits in A/B and match it to C. # Because we know these extra digits are not composed solely of '9's, we know the # extra digits in C will be the same length. (?=\d(\d*\12\g{-2}?+)) # Match pairs that differ by 1 in favour of C. (?=0\g{-1}1|1\g{-1}2|2\g{-1}3|3\g{-1}4|4\g{-1}5|5\g{-1}6|6\g{-1}7|7\g{-1}8|8\g{-1}9)\d # Now consume any and all additional '9's, pairing them with '0's in C.

Link  |  View on HN

Education Is a System of Indoctrination of the Young (1989) [video]

In response to his speaking style being criticized as boring, Chomsky said that "I'm a boring speaker and I like it that way.... In 2005, Chomsky received an honorary fellowship from the Literary and Historical Society. In 2007, Chomsky received The Uppsala University (Sweden) Honorary Doctor's degree in commemoration of Carolus Linnaeus. Since 2009 he is an honorary member of IAPTI. In 2010, Chomsky received the Erich Fromm Prize in Stuttgart, Germany.

Link  |  View on HN

John Wheeler’s H-bomb blues

The H-bomb document was no ordinary technical report: It was a bureaucratic weapon aimed directly at its creators’ political enemies. As of late 1952, the US knew how to build an H-bomb but had none that it could actually use. One was the extract of the secret H-bomb history, the other was unrelated classified work. The loss of the H-bomb secret does not seem to have affected his career trajectory. For the rest of 1953, Borden would conspire—with help from other enemies of Oppenheimer—to bring Oppenheimer down, one way or another.

Link  |  View on HN

The Lesson to Unlearn

Most people who've gotten good grades know this, and know it so well they've ceased even to question it. Anyone who cares about getting good grades has to play this game, or they'll be surpassed by those who do. I had gradually undone my training in hacking bad tests without knowing I was doing it. And as hacking bad tests shrinks in importance, education will evolve to stop training us to do it. This is not just a lesson for individuals to unlearn, but one for society to unlearn, and we'll be amazed at the energy that's liberated when we do.

Link  |  View on HN