1,225 karma · joined Apr 21, 2016 (10y ago) · 354 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
At least IMO superscalar + out of order execution was when things really became too complex to hold comprehension of the entire processor in one's head.
comment 4y ago · link · parent
comment 4y ago · link · parent
You will want to have a general idea of how a computer is internally structured but at a deeper level than is usually presented in popular material. I would suggest at least skimming through Tannenbaum's "Structured Computer Organization" (far more amenable to skimming than Patterson & Hennessy) and gleaning the high level concepts. Some may suggest Petzold's "Code" but I feel it's more aimed at a general audience than a technical audience. Others may suggest Nisan & Schocken's "The Elements of Computing Systems" used in their Nand2Tetris course but that's probably too low-level for what you want.
To get started with physical hardware, Ben Eater has videos for building a breadboarded computer based on the 6502 processor, which was used in the Apple II and Commodore 64: https://www.youtube.com/playlist?list=PLowKtXNTBypFbtuVMUVXN... that you can use to build your first computer. He also has parts kits available to make things easier: https://eater.net/6502. Some may suggest the videos he has for building an 8-bit computer from scratch (https://www.youtube.com/playlist?list=PLowKtXNTBypGqImE405J2...) but that also might be too low level for what you want.
From there, you'll probably understand enough to build breadboarded machines using other processors. Switching to an Intel 8088 which was used in the IBM PC will give you a 16-bit machine and the Motorola MC68000/MC68008 which was used in the early Macs, both of which are available in breadboardable DIP packages on eBay and elsewhere, will even give you a 32-bit machine to play around with.
comment 4y ago · link · parent
Speaking only for STEM, an elite STEM program gives the student access to a bigger variety of upperclassman courses; compare the available course list for a community college vs a large university and the difference is quite noticeable. The better programs also provide access to better equipment and advising; e.g., various University of California campuses have their own on-site chip fabrication labs. If the career trajectory you're planning benefits from those advanced courses, going to the better STEM programs is going to help tremendously. If not, well, they don't but that's hardly the institution's fault; they aren't choosing who to send your resume to, you are.
(As an aside, I use the word "access" very intentionally; educational institutions don't "confer" anything. Students get access to resources and opportunities and they choose which to take. It's entirely possible to do the minimum to fulfill requirements; for example, I chose easy courses to do the minimum fulfill my humanities requirements because it wasn't where my interests lay.)
comment 4y ago · link · parent
> "The ability to modify the data paths in a set of general purpose processor components (e.g. register banks, caches, integer ALU, float ALU, vector ALU, pipeline lookahead, etc) for specific applications by modifying the microcode would be a real leap forward."
The latency and die cost of the connectivity for being able to rewire a "sea of execution units" is going to kill clock speed and performance.
comment 4y ago · link · parent
If it's helpful, I'd like to mention that Charles Petzold's "Programming Windows" has been pretty much the reference for writing Win32 apps since the '90s. (It's the same person that wrote "Code" and "The Annotated Turing".) You probably want the 5th edition as that's the last pure Win32 version; the 6th edition seems to be oriented towards C# based WinRT apps.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 5y ago · link · parent
Some particularly interesting ones were:
"The Speed of Time" - https://news.ycombinator.com/item?id=28662945
"Meltdown Initial Performance Regressions" - https://news.ycombinator.com/item?id=16342665
"CPU Utilization is Wrong" - https://news.ycombinator.com/item?id=14301739
"Linux Load Averages: Solving the Mystery" - https://news.ycombinator.com/item?id=14959288
comment 5y ago · link · parent
> "I will prefer to hide one or more of the inner loops inside of a function call."
That risks the additional unnecessary overhead of a function call, which can be expensive in a loop, and not all compilers are as good at optimizing as they should be.
comment 5y ago · link · parent
Every time this comes up, I always encourage people to read an excellent analysis by David Tribble "Go To Statement Considered Harmful: A Retrospective" that goes over Dijkstra's essay line by line and explains what it means in a more modern context: http://david.tribble.com/text/goto.html It really should be required reading in CS programs.
I've used and still use goto in the few niches it makes sense to, primarily error handling and multi-level break in C/C++.
comment 5y ago · link · parent
If you wanted to do it cheaply and crudely, you at least need a portable spectrum analyzer that covers the frequency range you're investigating and a rubber ducky antenna that covers the frequency range you're investigating and then drive around watching for where the signal strength increases. (Make sure the antenna is outside the car since the metal of the body will interfere with reception of signals.)
Professional spectrum analyzers used for engineering are quite expensive (I'm told that Rigol's SAs are good for the price) but you might be able to get away with less expensive instruments like the RF Explorer or even an RTL-SDR and one of the software spectrum analyzer packages out there, assuming they cover the frequency range you're interested in. By definition, jamming needs to be powerful enough to drown out any competing signals so it should be obvious if jamming is occurring even to relatively low sensitivity instruments.
comment 5y ago · link · parent
comment 5y ago · link · parent
FPGAs are entering FAANG level datacenters and some faint awareness is seeping into the biggest tech companies but I don't foresee it entering common use anytime soon. Good use cases are just too uncommon and people who know how to build logic designs for FPGA are also too uncommon for that to happen.
comment 5y ago · link · parent
comment 5y ago · link · parent
[EDIT] Not mentioned on the BAR front page but also pioneered in TA was wreckage. Destroyed units left wreckage behind that had to be navigated around or fired upon to clear a path. Wreckage could also be scavenged to recover the material used to construct them, allowing the construction of more units. In the race to build enough infrastructure to overwhelm the enemy, this could be the difference between life and death.
comment 5y ago · link · parent
(As an aside, people here will suggest the other Corporate Confidential by Cynthia Shapiro but I do not recommend it. It does contain some nuggets of valid and useful information but a lot of it is presented in an excessively cynical and lurid way designed to appeal to the conspiracy theorist, something there's no shortage of on HN, or aren't applicable to the software profession. For example, Secret 29 "Your Values Are On Your Desk" particularly made me roll my eyes; nobody gives a hoot what's on your desk unless it's growing mold and the "...many internal promotions fail within the first year and are either fired or demoted..." also elicited a snort. Unless you're unlucky enough to be starting your career in a particularly toxic work environment, people are not going to be out to get you to that degree.)
If you haven't read DeMarco and Lister's Peopleware, that would also be an excellent choice.
88.
Adding a ChaCha Cipher to Precursor’s true random number generator(bunniestudios.com ↗)
2 points · by GrumpyYoungMan · 5y ago · 1 comment
comment 5y ago · link · parent