TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Learning BASIC Like It's 1983 (2018)

172 点作者 whatrocks大约 2 年前

29 条评论

jmmv大约 2 年前
Agree with the author’s thesis of how the folks that “grew with computers” have an advantage over those approaching them now, in terms of understanding the inner workings. I’m not sure that this matters much in terms of solving actual problems though, which is probably a good thing.<p>But I somehow find it a little bit sad that this is the case, so I’ll plug my own <a href="https:&#x2F;&#x2F;www.endbasic.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.endbasic.dev&#x2F;</a> because it’s very fitting in this context :) I’ve been building it precisely as a way to understand everything that’s going on by offering that 1980s experience (although it’s still far from fulfilling the full promise).<p>Also, buried in the article is a reference to the <a href="https:&#x2F;&#x2F;10print.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;10print.org&#x2F;</a> book. I recently came across it at HPB and it has been a pretty entertaining read. Couldn’t believe there was so much to write about such a simple little program!
评论 #35218613 未加载
评论 #35217468 未加载
评论 #35216342 未加载
评论 #35215806 未加载
评论 #35216879 未加载
timsneath大约 2 年前
This is a lovely ode to the period in which I developed my love for computers. Although like many growing up east of the Atlantic Ocean, my computer of choice was the Sinclair ZX Spectrum. Without the budget to afford to buy much in the way of cassette-based professional software, like most I resorted to manually entering programs from magazines like Sinclair User[1] and Personal Computer World[2], which got me into the habit of reading others&#x27; code. When they were inevitably incorrectly entered, I was introduced to debugging techniques for the first time. After a while, I figured that I could write a computer program of my own; and not long after that, I realized I could submit my own program to a magazine and even earn money from it[3]! I don&#x27;t think I would be working at Google now if it were not for this first-hand, somewhat unforgiving education I got in the 1980s.<p>That said, those who missed out on this era also missed out on quite how limited the available sources of information were. Without online services to consult, the primary source of information being trial and error, and one incorrect machine code instruction leading to loss of all data entered, progress was very slow going. A committed learner could certainly make far faster progress with a more modern environment.<p>For today&#x27;s generation, I&#x27;m grateful for books like Charles Petzold&#x27;s Code [4], which constructs a computer architecture from first principles. The joy is still there waiting to be found!<p>[1]: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;sinclair-user-magazine-033&#x2F;page&#x2F;n113&#x2F;mode&#x2F;2up" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;sinclair-user-magazine-033&#x2F;page&#x2F;...</a><p>[2]: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;PersonalComputerWorld1984-01&#x2F;page&#x2F;262&#x2F;mode&#x2F;2up" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;PersonalComputerWorld1984-01&#x2F;pag...</a><p>[3]: <a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;sinclair-user-magazine-044&#x2F;page&#x2F;n87&#x2F;mode&#x2F;2up" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;sinclair-user-magazine-044&#x2F;page&#x2F;...</a><p>[4]: <a href="https:&#x2F;&#x2F;www.microsoftpressstore.com&#x2F;store&#x2F;code-the-hidden-language-of-computer-hardware-and-software-9780137909100" rel="nofollow">https:&#x2F;&#x2F;www.microsoftpressstore.com&#x2F;store&#x2F;code-the-hidden-la...</a>
评论 #35216697 未加载
评论 #35239893 未加载
DeathArrow大约 2 年前
&gt; I think the people that first encountered computers when they were relatively simple and constrained have a huge advantage over the rest of us.<p>Even if they were simple it was hard to program them because there was a very limited amount of information on how to do it. The few books available didn&#x27;t cover a lot of things. Learning was mostly done lots of things until you succeeded. And that took a lot of time and patience. The Internet, stackoverflow, Reddit, YouTube, forums, Udemy, Github, and the thousands of tutorials, examples and documentation site make things a lot easier.<p>I started to learn programming on an 8 bit Sinclair ZX Spectrum and the only good things that came out of that is that it teached me to work on very constrained systems and to build up patience and will to try and fail until I succeed.<p>4 or 5 years later when I&#x27;ve experienced IBM PCs at school, it felt like going from horse and carriage to a rocket. Yes, the rocket might be a bit harder to maneuver but you can do much more things, faster.
评论 #35218053 未加载
评论 #35219087 未加载
inpdx大约 2 年前
I knew enough about the Commodore 64 Basic that I could leave the mall Radio Shack with it flashing wild colors or streaming a sentence. (Which was a highlight of going to the mall.) I started actually coding when we got a PC clone around 1984. First the Basic that came with it, and occasional forays into Assembly, which always felt like black magic. But soon enough Turbo Pascal was the real deal. And then I got hooked up with Turbo C, and boy was I hooked. I probably learned the most about the internals with C, because of pointers within a context I could actually easily reason about.
dmje大约 2 年前
I had the unfashionable but actually pretty cool Amstrad CPC464. I wanted to play games but also program. Hacking games was also much fun: figuring out how to give yourself 100 lives and so on.<p>Many weekends were spent typing lines and lines of code to make simple games. Then we&#x27;d save stuff to tape - after we&#x27;d spent hours and hours debugging, of course.<p>Elite occupied me for months. Then Forest at World&#x27;s End, which I mapped out on a bunch of sheets of A4 taped together.<p>When I got older I hacked my joystick port and connected it to a water chaos wheel I&#x27;d made out of an old bicycle rim and some other bits, then I wrote a BASIC program to visualise the movement of the wheel, monitoring direction via the hacked joystick port.<p>Oh man. Fun, fun times :-)
cortesoft大约 2 年前
I learned to program with basic around 1990, using books from the late 70s. What taught me the most were books of computer games… I learned so much because I had to make slight modifications for them to work on the version of QBasic I had, and trying to figure out what to do to make them work was the best teacher I had.
评论 #35216201 未加载
jmull大约 2 年前
To be fair, those memory mapped locations of the C-64 <i>were</i> APIs… for accessing the graphics, sound, and i&#x2F;o capabilities of the system. It was a pretty nice design. One abstraction made the entire system programmable in a flexible, intuitive way and played well with the CPU’s native machine language. You just needed a good memory map. (A knack for memorizing useful memory locations didn’t hurt either)
评论 #35216958 未加载
评论 #35217330 未加载
DeathArrow大约 2 年前
&gt;In 1983, though, home computers were unsophisticated enough that a diligent person could learn how a particular computer worked through and through. That person is today probably less mystified than I am by all the abstractions that modern operating systems pile on top of the hardware.<p>Not entirely true. While I&#x27;ve learned as a kid many of the insides and outsides of my ZX Spectrum clone, from the limited info I could gather and from tinkering, I tried to learn about most complex systems later, as much as I could.<p>I learned x86 assembly under MS DOS, I learned writing device drivers in C for Windows, I learned a bit of Linux system programming in University, I learned a bit of OpenGL and shaders, I learned a few bits about hardware, I learned about logical gates like NAND and simple digital circuitry. And those are basic things I&#x27;ve learned long time ago.<p>Having low level knowledge is useful but also having a higher level knowledge. I think concepts like algorithms, parallel and concurrent programming, formal languages and automata theory, cryptography, statistics, machine learning and other high level stuff I&#x27;ve came across in University were equally useful.<p>I tackled many areas of programming, desktop software, device drivers, embedded software, video games, mobile apps, web front-end, web backend. Now I am building microservice based apps with Kubernetes and Azure. I am thinking of brushing up my knowledge on ML.<p>I liked pretty much everything I did and I approached everything with a learning mentality.<p>One can&#x27;t learn everything like in the &#x27;80s but one can learn a lot of things to keep him entertained and help him accomplish great things while having enough knowledge of how things work under the hood.<p>I am probably not an expert in any one field of programming but know enough things to be useful in many areas. I rather like being a jack of all trades than highly specialized because there is more than one thing that interests me and I am always curious about different things and I like to learn. That being said, being an expert in one thing is not a bad place to be and experts can be paid a lot.
zabzonk大约 2 年前
the first kids that grew up with computers in the uk (about 1979) learned that running into a wh smith or similar store, where primitive computers (spectrum, vic) were on sale and ran demoing, and then doing reprehensible stuff like this:<p>10 print &quot;fuck you&quot;<p>20 goto 10<p>and then running out.<p>some may be running major companies now.
smackeyacky大约 2 年前
Shout out to Rodney Zaks and his Z80 assembly programming book. Books were so important back then to learn things, especially if you were somewhat isolated.<p>Those of us who owned offbeat PCs in the early 1980s probably were more motivated to learn our machines as the games and whatnot were much more limited. Wish I had never given away my Microbee...
评论 #35216977 未加载
teddyh大约 2 年前
The article delves only very shallowly into programming, so it stays away from this problem, but Commodore 64 BASIC is fundamentally unsuitable for programming anything larger than a few lines of code.<p>The most widely used version of Basic which Commodore (and other) platforms used does not have <i>functions</i>. This makes Basic programs tend to spaghetti and unreadable code, especially considering the constant memory constraints of those platforms. I grew up on these systems, and every time I think back on it I wish something like Forth would have taken its place – i.e. something with a clean and scalable pattern for abstraction. Basic, on the other hand, doesn&#x27;t do abstractions. It <i>barely</i> has data types and what it calls “functions” are an <i>even more</i> limited form of Python&#x27;s style of lambdas; every subset of code which can actually <i>do</i> something looks like “GOSUB 11600” when you call it. No naming, no abstractions, nothing. (No parameters or return values, only global variables.)<p>(This is in some ways even worse than assembler, which usually has labeled goto’s.)<p>When I programmed in Basic those many years ago, I was stalled when my programs reached a certain level of complexity. I was then mostly halted in my education and development as a programmer for many years, because the language did not make program composition easy. It was not until I had the opportunity to learn other languages with <i>did</i> have proper functions and other methods of program composition that I could break through the barrier, so to speak.<p>(Reportedly, BBC Basic on the BBC Micro <i>did</i> have proper named functions, and later versions of Basic like on the Atari ST and Amiga also had them. I believe that those versions of Basic would have been vastly more productive and taught people the usefulness of abstracting things as you go, building ever higher abstractions, etc. But this is never the version of Basic which people talk about, or used by all those listings in magazines, etc. These are, for all intents and purposes, not the “80s style Basic” which everybody remembers with such apparent and baffling fondness.)<p>(Mostly a repost of a previous post of mine: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34033513" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34033513</a>)
评论 #35247323 未加载
评论 #35256384 未加载
rtpg大约 2 年前
Anyone up for this exercise, I might recommend QBASIC from Microsoft instead. Built in help manual and a &quot;real-ish&quot; IDE. And it was on the Windows 98 CD!<p>I value &quot;infinite online resources&quot; but having integrated books of documentation in the IDE includes such valuable writing. I miss it so much when going through the hastily-written &quot;getting started&quot; tutorials I end up with nowadays (the scope of problems trying to be solved is way different of course)
评论 #35220650 未加载
dang大约 2 年前
Discussed at the time (of the article):<p><i>Learning BASIC Like It&#x27;s 1983</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17900494" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17900494</a> - Sept 2018 (160 comments)
Koshkin大约 2 年前
I’ve had great fun playing with (an excellent implementation of) Basic on a Colour Maximite. Highly recommended to those who would like to run Basic on the bare metal.<p><a href="https:&#x2F;&#x2F;micromite.org&#x2F;product-category&#x2F;maximites&#x2F;colour-maximite&#x2F;" rel="nofollow">https:&#x2F;&#x2F;micromite.org&#x2F;product-category&#x2F;maximites&#x2F;colour-maxi...</a>
logicalshift大约 2 年前
I started off with a BBC Micro, followed by an Acorn A3000. My first &#x27;PC&#x27; was a 486 card for the RISC PC - now there&#x27;s an interesting architecture: the machine had two processor slots, but didn&#x27;t require that the processors to have the same architecture. You could use the 486 as a very janky floating point accelerator for the ARM chip as well as to run DOS and Windows.<p>An interesting thing is that RISC OS is still available for the Raspberry Pi and it&#x27;s a direct descendant from the operating system of the BBC Micro - not emulated. It still has the same level of direct hardware access, so if you ever wanted to use peek and poke (well, those are the ! and ? operators in BBC BASIC) on some modern graphics hardware, there&#x27;s a way to do it. There&#x27;s a built-in ARM assembler in there too.<p>What I think was really different about the time was the quality of the documentation. Nothing modern has the same sense of empathy for the user or achieves the same combination of conciseness and comprehensiveness. For instance, here&#x27;s the BBC Micro&#x27;s Advanced User Guide: <a href="https:&#x2F;&#x2F;stardot.org.uk&#x2F;mirrors&#x2F;www.bbcdocs.com&#x2F;filebase&#x2F;essentials&#x2F;BBC%20Microcomputer%20Advanced%20User%20Guide.pdf" rel="nofollow">https:&#x2F;&#x2F;stardot.org.uk&#x2F;mirrors&#x2F;www.bbcdocs.com&#x2F;filebase&#x2F;esse...</a> (it&#x27;s of particular historical note, because today&#x27;s ARM architecture grew out of this system). You could build the entire computer from parts using just this 500 page manual, and you&#x27;ll note that it&#x27;s not actually a huge amount more complicated than Ben Eater&#x27;s 6502 breadboard computer.<p>Weird thing: RISC OS actually has backwards compatibility with some of the old APIs so some of the stuff in the advanced user guide still works today on a Raspberry Pi (plus it comes with a BBC Micro emulator which was originally written because Acorn didn&#x27;t want their new machine to fail due to a lack of software). These days there&#x27;s also <a href="https:&#x2F;&#x2F;bbcmic.ro" rel="nofollow">https:&#x2F;&#x2F;bbcmic.ro</a> of course :-)<p>The Programmers Reference Manual for RISC OS is similarly well written, and surprisingly quite a lot of it is still relevant: most things still work on a Raspberry PI, and even modern operating systems still work pretty much the same way on the architecture. While things like MEMC, IOC and VIDC are long dead, there&#x27;s a pretty direct lineage for the modern hardware to these older chips too.
MissTake大约 2 年前
My first computer was the Acorn Atom. Wasn&#x27;t as &quot;cool&quot; as the Vic-20 or the ZX-81, but the Atomic Basic language had on killer feature: the ability to embed assembly directly inside a basic program!<p>Learnt so much about the 6502 that way!
PopAlongKid大约 2 年前
In the early 1980s, graduate MBA (business school) students at Univ. of California at Berkeley took a required intro computing course, which was mostly BASIC programming. The computer lab was a room full of Lear Siegler ADM3A terminals connected to DEC VAX running Unix. The login shell was the BASIC interpreter, and Unix was hidden.<p>That was another way to learn BASIC like it&#x27;s 1983 that I haven&#x27;t seen mentioned yet.
Jemm大约 2 年前
I was a teen in the 80s. I was lucky enough to hang out at the local university and got to use their terminals that had a printer instead of a display.<p>School had an Apple II but wouldn&#x27;t let students use them. Instead they forced them to use punch cards so I didn&#x27;t take the class. Instead I used a Commodore PET that was on display at a department store.<p>Eventually owned an Apple II clone and and IBM PC clone. First work computer was a Compaq Luggable with an amazing orange phosphor monochrome display.<p>Before the Internet was available we used BBSs, and Compuserve. BBSs were horrible little fiefdoms run but basement dwelling trolls.<p>Networking was still a toss up between Ethernet and Arhnet. I liked Arcnet. You had to configure interrupts, ports, buad rates, stop bits, and parity for the IDE network cards. It was a pain.<p>Most business LANS used Novell Netware or Lantastic. I loved Lantastic, it was easy and even had a voice over network feature. Still have a t-shirt from them somewhere.<p>The Internet arrived before Windows was usable and Microsoft wasn&#x27;t ready. So you had to use a SOCKS client.<p>I made a lot of money in those days simply by hanging out in the computer section of the big book store. Managers would wander in like Bambi on a highway. When they saw me reading a book on computers they inevitably asked questions. It turned in to consulting work.<p>Fun times but also very frustrating. No real multi user, buggy products and operating systems, Linux was still very much &#x27;assembly required&#x27;.<p>Now we have non-typed, high level, abstracted languages, and agile methodologies which are possibly a step too far in the other direction.
bitwize大约 2 年前
No, the author didn&#x27;t miss out by not having been born in the late 70s or 80s and not experiencing this form of development.<p>8-bit micro BASIC development was based on the idea that it&#x27;s the programmer&#x27;s job to produce a complete program, and to understand all that it does from the time you type RUN until the program ends or is interrupted (by pressing Ctrl-C or RUN STOP, resetting the computer, etc.).<p>Today, most software developers develop program fragments that are plugged into a framework. The framework takes care of most of the details and only calls into your code for specialized logic. If you grew up programming BASIC (or Forth or Logo or Turbo Pascal), it can be confusing and frustrating to work this way because your intuitive sense of the program flow is completely disrupted.[0] I&#x27;ve found that younger programmers have fewer issues writing framework code. When their brains were still pliable, they learned that this is what programming <i>is</i>, so they adjusted to it. Even game programming, long the purview of hardcore bit diddlers, is high-level and framework-oriented thanks to engines like Unreal and Unity. Older programmers like me, sometimes their instincts and intuitions got in the way. The ones who thrived are the ones who adapted, who stopped worrying and learned to love the framework.<p>The entire discipline of programming is going to be disrupted again -- by AI. So today&#x27;s programmers are going to be confused and frustrated when their jobs switch from writing code to prompt-engineering a model into writing code. But Gen Z will be right at home with it.<p>[0] I&#x27;ve found that working in Spring is for me an aggravating process because it involves guessing how to make ill-specified framework magic do what I want instead of, you know, writing a program that does what I want.
heywhatupboys大约 2 年前
&gt; (Your sister protested this decision, but it was 1983 and computers weren’t for her.)<p>oh dearest, save us from false revisionist shit political takes on gender&#x2F;race&#x2F;politics in every modern journalistic piece. There was no stigma or bias for women going into CS&#x2F;programming in 1983.
评论 #35218967 未加载
j16sdiz大约 2 年前
It is still possible to get a 8088 (or similar) developer board and code like it is 1983. What&#x27;s missing is how we get from the &quot;raw&quot; experience to the &quot;everything is abstraction&#x2F;virtualisation&quot; world we have now.
retrocryptid大约 2 年前
Minor nit: computerland didn&#x27;t sell C64&#x27;s. They sold &quot;business computers.&quot; In 1983, that meant they were trying to sell Apple &#x2F;&#x2F;&#x2F;&#x27;s, IBM PCs, Apple Lisa&#x27;s and maybe a leftover CP&#x2F;M machine.<p>You had to go to your local toy or department store to get a C64&#x27;s or 1541. I remember the day the C64 price hit $200 at BEST (discount toy-heavy catalog store.) But the 1541 was still something like $400, so... OOF!
taubek大约 2 年前
For me it all started with Spectrum ZX. I liked the fact that all of the commands were printed on keyboard keys. It made learning BASIC syntax much easier.
actually_a_dog大约 2 年前
I understand the point the author is trying to make: computers were simpler in 1983 than today, so you could actually understand how they worked, if you studied the technical specs. There was not some big operating system in the way. Operating systems were literally referred to as &quot;disk operating systems,&quot; because that&#x27;s pretty much what they did: mediate loading and saving data to disks.<p>And that&#x27;s all a good story, except that it mostly didn&#x27;t happen.<p>Not everybody was typing in BASIC listings, then spending hours debugging where the typo was. There was more than enough premade software, including games, out there for the major computers on the market (C64, Apple II, TI-99) that you could have a lot of fun without ever seeing a BASIC prompt.<p>And, while the manuals were much lower level then than they would be just a few short years later, and you could certainly learn a lot about how to control the machine by PEEKing and POKEing memory locations, the fact that if you POKE some address and the screen changes color doesn&#x27;t tell you anything about how it all happened. It&#x27;s just as mysterious as how moving the mouse on a modern computer moves a pointer on the screen.<p>BASIC is too high level to teach you anything meaningful about what&#x27;s going on under the hood. But, fortunately, the machine languages of the home computers of this era were generally pretty well documented. However, even then, while you&#x27;d know there&#x27;s this thing called a CPU and that it has things called registers and that you can give it instructions to read and write memory locations, those things are still pretty big abstractions if you want to claim to understand &quot;how it all works.&quot;
评论 #35217245 未加载
评论 #35216143 未加载
DeathArrow大约 2 年前
If you want to learn how computers work now is easy. Learn C and a bit of assembly, read about hardware and try to do low level stuff. Play with memory, play with system calls.<p>Learn a bit about GPUs, some OpenGL, DirectX, shading language or Vulkan and tinker with the GPU.
评论 #35217654 未加载
评论 #35217792 未加载
DeathArrow大约 2 年前
&gt;. In the 8-bit computer era, many games were available only as printed BASIC listings in computer magazines and books.<p>Actually the best games and software were programmed in assembler and you had to load them from cassette tapes.<p>You couldn&#x27;t do much in Basic.
评论 #35217895 未加载
评论 #35217532 未加载
jbverschoor大约 2 年前
hmm.. the Philips MSX manuals were pretty good. Explained basic, guided you through creating a small game.<p>Couldn&#x27;t find it only, but found the sony one at <a href="https:&#x2F;&#x2F;hansotten.file-hunter.com&#x2F;uploads&#x2F;files&#x2F;sonymsx2basicuserguide.pdf" rel="nofollow">https:&#x2F;&#x2F;hansotten.file-hunter.com&#x2F;uploads&#x2F;files&#x2F;sonymsx2basi...</a> fun to see the difference
hfo大约 2 年前
Mine was the Atari 800XL. Atari Basic hadn&#x27;t PEEK and POKE as the C64 (though something similar which I can&#x27;t remember right now), but some more possibilities to switch graphic modes and plot things. But I never learned how the machine worked from that, it was still magic.<p>I tried typing in listings, but you only knew that there was a typo somewhere after you finished hundreds of lines. Finding the typo was out of the question for me. Also, it was obvious that the result of the listing, usually a game, was of much lower quality than the games I already had or could copy from friends.<p>The reason I learned Basic was that I wanted to know how games work. They always fascinated me since I saw Space Invaders somewhere. I quickly understood, mostly with the help of more advanced friends, that you couldn&#x27;t make games with Basic, it was too slow. You had to learn machine language.<p>So that&#x27;s what I eventually did, and that&#x27;s how I really understood the machine down to the point where I could tell what almost every single of the roughly 40000 available bytes did. It took a long time to get there, those 8-bit machines where already quite layered in hindsight when you think about: How 6502-instruction, assembler, disk I&#x2F;O, joystick input and graphical output where tucked together with what today be probably called the Atari-API was not immediately obvious and the result of 20 years of technical development, but nowhere explained for a 12 year old!<p>My enlightment moment was this dialog with a friend: Me: &quot;Why does this assembler program crash? Why do I have to reset? Why can&#x27;t the computer handle it?&quot;, friend: &quot;Because deep down, executing your program is also a program. If your program crashes, that program crashes.&quot;. I think that was the most profound lesson ever to me. It&#x27;s programs all the way down!<p>So, yes I know that CPUs have their own instructions and that every programming language ultimately compiles to that. But that knowledge helped me little with what I consider the next large learning steps over the decades: Learning C on x86, learning how Unix&#x2F;Linux works, learning what the internet is fundamentally build up on, learning Javascript+HTML5, learning how fundamentally different asynchronous programming is if you can&#x27;t assume that I&#x2F;O might not respond immediately and possibly never.<p>My favorite language today is vanilla javascript. I love the simplicity, no compiler insisting on type safety, a great UI, almost platform independent, lots of cool APIs. I think JS is as remote from Assembler as you can get.<p>Bottom line, I think it really doesn&#x27;t matter to know about machine instructions, same as it didn&#x27;t matter at the time how CPUs worked on the hardware level. That still mystifies me: The 6502-equivalent of an if-clause was branch-not-equal (BNE), but how did that work in reality? What&#x27;s happening on the silicone then? How can a lifeless thing make a decision? Never really understood whats beneath the turtles.
评论 #35232146 未加载
评论 #35219811 未加载
ar9av大约 2 年前
Going back to your experience with programming, it&#x27;s inspiring to hear how you progressed from BASIC to Assembly, Turbo Pascal, and eventually Turbo C. It&#x27;s great that you found C to be a language that allowed you to reason about pointers and understand the internals of how programs work.