9 ms·
TempleOS: x86_64 HolyC Compiler/Assembler/Unassembler [video]
- arcticbull 11y agoAs much as people like to throw stones at Terry, TempleOS does some really interesting things. It really is impressive that he's built an entire operating system from the ground up from first principals. There are some novel concepts in there; I loved his integration of sprites into source code.
- quchen 11y agoThe stones people throw are at a part of Terry that may be a side effect of the same thing that made him build his temple, but from what I've seen his digital work is universally praised in isolation.
- thaumaturgy 11y agoI don't think people (here at least) really throw stones very much, and those that do usually get downvoted or rebutted pretty mercilessly. Some past Terry Davis threads: He gets posted to usesthis.com: https://news.ycombinator.com/item?id=7776743 https://news.ycombinator.com/item?id=7776743 A 5-minute random code walkthrough: https://news.ycombinator.com/item?id=8349910 https://news.ycombinator.com/item?id=8349910 The Temple Operating System: https://news.ycombinator.com/item?id=6308017 https://news.ycombinator.com/item?id=6308017 Why Davis' TempleOS is better than Torvald's Linux: https://news.ycombinator.com/item?id=8779821 https://news.ycombinator.com/item?id=8779821 The majority of people really seem to respect his technical achievements, and "TempleOS does a really interesting thing ____" isn't an uncommon comment.
- jeffreyrogers 11y agoHis video contrasting TempleOS with Linux is really interesting. It's unfortunate that many of the people who watched it didn't understand the points he was trying to make or just couldn't get past his inflammatory language. TempleOS seems to address many of the deficiencies of Linux for desktop usage.
- brianwawok 11y ago> TempleOS seems to address many of the deficiencies of Linux for desktop usage. What? Like networking and running concurrent programs? I guess I like my deficiencies....
- pekk 11y agoEveryone likes functionality. But functionality comes at the price of complexity.
- mrcsparker 11y agoI just watched the TempleOS vs Linux video. Fantastic stuff. I had missed that one. His OS looks fun. I started listing the things that I liked, and I was just repeating the points in the video.
- deleted 11y ago[deleted]
- robbiep 11y agoI always find his videos fascinating but this is way over my head. Can someone in the know please provide a bit of a breakdown of the design decisions he has taken and how they compare with other compilers?
- Smushman 11y agoI see his work as a real testament to the power of the individual when given the ability to focus and freed from restriction to pursue their calling in life. Not drawing any parallels here, but I am sure that there have been many 'Joan of Arc' and 'Moses' in history, and only a very tiny number of those received any recognition or praise. How many doubtlessly countless numbers were forgotten or plain ignored? Their lifes work and passions laid bare for all to see, only to be shuffled away when they weren't successful by others measurements. Tl;dr I see Terry as a reminder to march to your own drummer and to support others to do the same; whether they win or lose.
- DanBC 11y ago> march to your own drummer Do you think that's what people with severe mental illness are doing?
- vidarh 11y agoIt is possible to recognise the creativity his opportunity to focus on doing his own thing has allowed him to express without intending it to downplay the challenges of his mental illness.
- DanBC 11y agoSure, but Smushman's comment isn't doing that. It's naive and ignorant feel-good bullshit.
- vidarh 11y agoAnd how is it you know that? The comment on its own does not provide enough information to jump to that conclusion.
- DanBC 11y ago> the power of the individual when given the ability to focus and freed from restriction to pursue their calling in life. Most people with severe mental illness do not describe it as something that has freed them, nor given them focus, to pursue the one thing they really want to pursue. There's a bunch of positive stuff about severe and enduring mental illness; and we need to protect people so that they can live the way they want to live; and we need to be careful to avoid the abuses of treatment that happened in the past (and still happen today); but romanticising a severe and enduring mental illness is fucking annoying. This isn't his calling, it's his delusion's calling. and he's not freed from restriction - that's a fucking idiotic thing to say about someone who lives in relative poverty with severely limited options about where he lives and who with. The near complete lack of understanding of severe mental illness, coupled with glib feel good platitudes, do real harm to many people.
- harry8 11y agoAmong his faults the man uses a lot of racist slurs. I won't and don't excuse that. I don't care how eccentric, imbalanced or in need of better psychiatric care and drugs he is. I wish to point out that his behavior is totally and utterly unacceptable. There are people whom we should go out of our way to make feel welcome. Deliberately or not this man is working for the opposite cause. Consider it a stone if you must, vote up or down according to your beliefs. Just let's not sweep it under the carpet, it is UGLY.
- a3voices 11y agoWhy is political correctness so important to you?
- harry8 11y ago"Political correctness" isn't important to me at all. I've said what is important and why.
- a3voices 11y agoFinding racial slurs unacceptable, when he isn't attacking a specific person on HN, is political correctness.
- harry8 11y agoNo it is not. My taking exception to constant use of the word "nigger" as a deliberate form of abuse and noting it is what it is. There will be some who won't know it and will dig into it and wonder why it escaped without so much as a mention. They might actually be hurt by it. I've said why I take exception, making people feel unwelcome who I think should be made to feel welcome. I've said maybe he doesn't mean it because he's in need of psychological help, perhaps help of a kind that it wholly unavailable at this point in history. This is a tragedy but it doesn't make it acceptable. Political correctness is something else entirely. Political correctness is it being unacceptable to have dissenting views from the powerful. The phrase comes from, I believe, the China of the 1970s. People who were deemed politically incorrect were treated very badly indeed by a pretty hideous and oppressive regime. It's something quite different from the right to claim my kind are superior to yours while being free of criticism for saying so. It's something different to saying the phrase 'political correctness' as an excuse to be abusive. I do not object to this man's dissenting political views. He is unwell. He is abusive of people I would wish to make welcome. Look around at the demographic again at any conference, any place of work in this industry. I don't buy arguments that skin melanin or estrogen make for poor engineers, I know some do. Given I'm not buying that, pointing out abusive behaviour and noting that is pretty awful doesn't seem unreasonable or oppressive of legitimate alternate points of view to me. Does it really to you? I doubt strongly there is any abuse I could direct at you that would make you doubt yourself. Would it were so for those smarter but less confident that you or me. I am not saying suppress the story, that this story should not be here, just that we shouldn't pretend that awfulness isn't there. If on the other hand you find racism, of the most gross kind, acceptable as long as it's not directed at a specific person on HN you and I diverge views quite strongly at that point.
- frou_dh 11y agoIt's crass that the comments on Terry's technical material always turn into a psychoanalysis roundtable, given he is a HN reader.
- DanBC 11y agoEspecially because so many HN Commenters have little to no clue about serious mental illness.
- nadams 11y agoMental illness aside - he accomplished something that I can only dream of. I'm sure if I sat down, quit my job, and read hundreds of tutorials I could come out with some sort of OS. I'm not a fan of the whole religious aspect - but the core of the project is pretty amazing I think.
- engi_nerd 11y agoHis illness is far beyond anything I've ever experienced. If anything, I believe that what Terry has accomplished is a powerful testament that people with serious mental illness are still capable of creating amazing things.
- mk00 11y agoThis racist loser is in the depths of madness. Funny how some think this clown implementing basic CS curriculum into a horrid joke of an operating system is impressive, because he became a hermit for 10 years. The entire situation is abhorrent.
- mikeash 11y agoThere's not a single drop of technical discussion in these comments. For shame! Come on, people!
- dang 11y agoCorrect, and these discussions have been happening forever and are always the same: https://news.ycombinator.com/item?id=9683971 https://news.ycombinator.com/item?id=9683971.
- kilon 11y agoVery hard to follow his way of thinking but I am just shocked at the amount of work he has put into this. Just amazing !!!!
- ebbv 11y agoBecause it would be a complete waste of time. There's nothing to learn from this any more than there is to learn from the nonsensical babble of a guy standing on the corner telling you that Obama is a Lizard Man from Neptune. That's what TempleOS is. The computer equivalent of that. Shame on all of you who indulge his delusions and pretend he's accomplished something worthwhile.
- engi_nerd 11y agoHe's written an entire 64 bit operating system by himself. He is also mentally ill. Does the second fact make the first fact untrue, or not worth talking about?
- frozenport 11y agoIt gives him a lot more free time.
- ebbv 11y agoThe fact that it's garbage which is totally unusable makes it not worth talking about. Someone investing a lot of effort in something doesn't make it good or worthy of discussion. There's lots and lots of stuff out there that mentally ill people have spent an incredible amount of effort on. This just happens to be one that keeps getting submitted to HN and that the HN admins have stupidly chosen to indulge.
- mikeash 11y agoI won't claim TempleOS is useful, but as far as I know it's pretty interesting technically, especially as a one-man project. There's no shortage of personal side projects out there which are completely useless, but interesting to look at just the same. The only difference here is a much larger scope and a weirder motivation. I'm definitely not going to feel ashamed for being interested in the technical aspects of such a project, just because the author happens to be delusional. In any case, either discuss the actual stuff at hand, or if you think it doesn't belong here then flag it and move on. Filling up the whole comments section with discussion of the guy's mental health, ground which has been so thoroughly trodden that it's in danger of breaking through to the magma, is just ridiculous.
- jhallenworld 11y agoI knew someone else who made a jit C compiler similar to this, but for 68K (also where the entire environment is in a single memory map). Functions could be compiled when called. The advantage is that the compiler could treat arguments as constants for further optimization. It's impressive that he made his own optimizing compiler, even if it is not C standard. From the video it has at least constant folding, dead code elimination and jump optimization. It's interesting that the intermediate code is in the form of a double-linked list for easy editing. I would suggest to try to make a compiler which uses SSA- it's pretty simple and allows more optimizations, particularly CSE. I worked with Bob Morgan at one point, and I suggest his book on compilers as an accessible resource. He would like your jump optimization outer loop: repeat while we're still making progress.
- blt 11y agoI've often thought about this idea. It could be as simple as `#pragma jit` before a function call. If you're about to call a function that chews on a big dataset for several seconds, it's probably worth the effort. In particular I'm thinking of hot loops with an `if` statement or function pointer / virtual call.
- bobsgame 11y agoEveryone here should download the ISO and give it a go in virtualbox. It's surprisingly painless and quick to boot, and has an interesting and helpful startup guide. Take the time to check it out, it is truly fascinating!
- jason_slack 11y agoI have followed Terry's endeavors throughout the years. 1. Why do all the source and headers have a .Z at the end? 2. I truly wish there was a way to help Terry share his gift. What he is capable of is truly a huge, huge accomplishment, especially for a single person. Terry, if you read this. Thank you. Watching your videos makes me get in gear and read more..