Subleq!

  Рет қаралды 20,103

Truttle1

Truttle1

Күн бұрын

Пікірлер: 105
@cerulity32k
@cerulity32k 2 жыл бұрын
6:42 TIS-100 is HARD. You control multiple "nodes" that pass integers from -999 to 999 back and forth, with stack memory. It requires a lot of skill. This looks insane to even try.
@Astronomy487
@Astronomy487 4 жыл бұрын
i think this is the most absurd esolang ive ever seen on this channel
@kolegapsasasiadaodstronysz3569
@kolegapsasasiadaodstronysz3569 3 жыл бұрын
and in fact it isn't esolang but ISA
@AlvinBalvin321
@AlvinBalvin321 4 жыл бұрын
The excitement when I see the notification
@Truttle1
@Truttle1 4 жыл бұрын
I didn't get a notification. :(
@AlvinBalvin321
@AlvinBalvin321 4 жыл бұрын
I don’t think you get a notification when you upload your own video
@uob-cs3366
@uob-cs3366 3 жыл бұрын
ذخخم جهدفعقث
@gamma204
@gamma204 5 ай бұрын
​@@AlvinBalvin321that was joke you ner
@elnico5623
@elnico5623 4 жыл бұрын
Wait is it... turing complete? Oh lord
@andrewpinedo1883
@andrewpinedo1883 3 ай бұрын
Yes! Subleq is Turing-complete.
@imlxh7126
@imlxh7126 3 жыл бұрын
Obfuscate confirmed to be a subleq computer
@emilioschmidt2106
@emilioschmidt2106 3 жыл бұрын
I'm so f*cking obsessed with this language. I just built a compiler in python for the _sic game language_ . I started building hardware that can run the compiled language (Ben eater style) cause I don't need much logic controlling different instructions (duh) and I only need a ALU that can subtract
@meep.472
@meep.472 3 жыл бұрын
any updates?
@emilioschmidt2106
@emilioschmidt2106 3 жыл бұрын
@@meep.472 Kind of: I changed plans to make it in a calculator like device that you can bring to school. I use arduino nano for that. Currently I'm programming the code to get the code into memory
@mushchlowastaken
@mushchlowastaken 2 жыл бұрын
@@emilioschmidt2106 sick! update part 2?
@josecarlos2798
@josecarlos2798 Жыл бұрын
You should uopload videos about it
@inigo8740
@inigo8740 4 жыл бұрын
Subleq was my first esolang, thanks to it I found your channel
@monkey_see_monkey_do
@monkey_see_monkey_do 4 жыл бұрын
My favourite character is Obfuscate))) Man, hats off to your source of inspiration!
@themcchuck8400
@themcchuck8400 2 жыл бұрын
Thank you so much for pointing me at the esolang community. I'm having so much fun with this. Working up my own variants has gotten me back into programming after nearly 30 years. I remember finding and using a similar esolang on the C64 back in the mid 1980's, when computing magazines had all sorts of programming projects. Of course, they weren't called esolangs back then.
@Truttle1
@Truttle1 2 жыл бұрын
Nice! Which programming language was it?
@themcchuck8400
@themcchuck8400 2 жыл бұрын
@@Truttle1 I can't remember the details back that far. :( It had two instructions: Increment, and Decrement (jump if zero). Fun to mess with for a while back when I was young. Good memories.
@JanxZ
@JanxZ 4 жыл бұрын
This is big brain time.
@chair547
@chair547 2 жыл бұрын
Saying x86 assembly is low level as if REPNE SCASB doesn't exist
@matthiasschatzer8641
@matthiasschatzer8641 Жыл бұрын
I even tried to make a subleq computer in minecraft, it should work but cant load from memory correctly, so it doesnt work
@douro20
@douro20 2 жыл бұрын
The ABLE processor in the Synclavier synthesizer uses only the 'move' instruction. It is also worth noting that the same instruction in x86 has been proven to be Turing-complete.
@Truttle1
@Truttle1 4 жыл бұрын
Join the discord server today: discord.gg/ybTRP7a
@AlvinBalvin321
@AlvinBalvin321 4 жыл бұрын
Already have
@spx0
@spx0 2 жыл бұрын
Expired ?
@_fluffyy1028
@_fluffyy1028 4 жыл бұрын
What video editing software do you use? The animation is super smooth!
@Truttle1
@Truttle1 4 жыл бұрын
I use Moho to animate, and Adobe Premiere Pro for final edits.
@official-obama
@official-obama Жыл бұрын
5:58 ...until you run out of memory. Then it's a finite state machine.
@kepe__
@kepe__ 3 жыл бұрын
You're one of the people whose videos I instantly like now, without even watching :p
@AlvinBalvin321
@AlvinBalvin321 3 жыл бұрын
i just randomly remembered this, and was gonna go into sic-1, but my data got reset or something i dont remmeber switching computers, tho i may have
@AlvinBalvin321
@AlvinBalvin321 4 жыл бұрын
on sic-1 it says that it stores the result of a - b in register A: "subleq" subtracts the value at address B from the value at address A and stores the result at address A (i.e. mem[A] = mem[A] - mem[B]).
@Truttle1
@Truttle1 4 жыл бұрын
It does that, since it's a different variant of subleq. It takes a second to get used to...
@AlvinBalvin321
@AlvinBalvin321 4 жыл бұрын
Ok, and also I think that’s a bit more intuitive because a comes before b so a -= b is more intuitive
@okboing
@okboing 3 жыл бұрын
I also conceived of a language with only one command, called NANDulator It uses an unspecified length binary string, and each command is simply 3 numbers, like this one. (a, b, c) will set c to NAND of a and b
@cmyk8964
@cmyk8964 2 жыл бұрын
How would you create control flow?
@RealLifeKyurem
@RealLifeKyurem Жыл бұрын
​@@cmyk8964 Detailed here: kzbin.info/www/bejne/an_Wi3iJlNeEbbc
@official-obama
@official-obama Жыл бұрын
​@@cmyk8964 maybe the negative bits could be the program counter, and if you also need IO, you can put it between the positive and negative things you might also need bitshifts, because if you need to take the nand of bits in a different place value, then you need to shift them together. you might be able to bodge it in an AutoHotKey-ish way by making it so that the first instruction is even then the operation is nand, and if it's odd then the operation is bitshift.
@official-obama
@official-obama Жыл бұрын
@@official-obama that's an old comment (i think), you shouldn't have replied to it
@Damjes
@Damjes 2 жыл бұрын
What about SSB (subtract and skip if borrow). It's better because is OISC with one operand!
@redpepper74
@redpepper74 3 жыл бұрын
6:53 heehoo i managed to do it in only 93 cycles :P it's mostly because while I have only 2 commands in my subtraction loop, you have 13 :0 not sure what you're doing with all of those variables lol, sometimes it's better to keep things negative (btw here's the loop if you wanted to see) @SubtractLoop: subleq @divisor, @factor, @CalcR subleq @negQuo, @one, @SubtractLoop
@faraday4160
@faraday4160 3 жыл бұрын
the point this language tries to make is legit. computers became too complicated and it can't be avoided if you want to be at least somewhat sane.
@KeinNiemand
@KeinNiemand 4 жыл бұрын
This is kind of like that movuscater thing where someone wrote an entire c compiler that only uses the mov instruction
@Truttle1
@Truttle1 4 жыл бұрын
There's actually a lot of turing-complete OISCs. I actually once saw a game engine that uses a variant of BitBitJump to run games...
@AshtonSnapp
@AshtonSnapp 3 жыл бұрын
@@Truttle1 BitBitJump?
@Truttle1
@Truttle1 3 жыл бұрын
@@AshtonSnapp esolangs.org/wiki/BitBitJump
@AshtonSnapp
@AshtonSnapp 3 жыл бұрын
@@Truttle1 Interesting...
@oblivion_2852
@oblivion_2852 3 жыл бұрын
The real question is what instruction set results in the fastest computer. RiscV is pretty great cause the newest definitions have 512 bit register widths for simd
@NothingHere9911-blank
@NothingHere9911-blank 2 жыл бұрын
: g = 10 ]
@crfout1
@crfout1 2 жыл бұрын
In the Truth program (5:28), the assembly and code don't match. In the assembly, clearing tmp happens after printing. In the code, clearing tmp happens before printing. Man, that has bugged me for months, and I finally bothered to pause the video to figure out why.
@themcchuck8400
@themcchuck8400 2 жыл бұрын
The Dawn OS website is gone. :(
@kilgarragh
@kilgarragh 2 жыл бұрын
you could... compile the c based linux kernel to subleq... if that cpu ever existed
@Lixxide
@Lixxide 7 ай бұрын
i'l do it one day, maybe
@Orincaby
@Orincaby 3 жыл бұрын
is this the only truttle1 video with 100% like ratio?
@emilioschmidt2106
@emilioschmidt2106 3 жыл бұрын
I am starting to make a compiler for that language with python. Wish me luck Edit: I'm done. Does anyone want to code review?
@proloycodes
@proloycodes 2 жыл бұрын
perhaps
@lucaayfmlyysiaejdsrtnnervd4646
@lucaayfmlyysiaejdsrtnnervd4646 4 жыл бұрын
This is a birthday gift to me. I have my birthday tomorrow... Timing is crazy.
@lucaayfmlyysiaejdsrtnnervd4646
@lucaayfmlyysiaejdsrtnnervd4646 4 жыл бұрын
@Orange Giraffe Thank you!
@stagelights_
@stagelights_ 2 жыл бұрын
I usually to some extent understand the languages after you explain them in these videos but for this one I still don't get it
@SysFan808
@SysFan808 9 ай бұрын
question: how do you immediate numbers into stuff, to make constants? making a computer in turing complete (game on steam where you make computers outta logic gates) using this architecture, and the ram starts out all empty. I don't see how I could Immediate a value without inputting...
@zoltanpataki1307
@zoltanpataki1307 5 ай бұрын
This theoretical arch has both the program code and the variables in RAM/RW memory. In Turing Complete, you can sadly only program a ROM directly, so normaly the code is separate from the variables. What you can do is create a circuit for copying the full ROM into a RAM module (increment program counter by 1, connect the first output of ROM directly to the input of the RAM, address for both is the output of the counter.). When this is done (program counter reaches 255 or whatever is your max storage in ROM), the ROM-RAM connection should be disconnected (switch?) and the rest of the computing hardware should read the instructions from the RAM, not the ROM like normally in the game. This idea of copying the whole ROM into the RAM is necessary for any self-modifying code, and it models modern computers much nicely. Sadly, you will lose debugging functions because after the copying is done there is not much to do with the ROM.
@GoldenD60
@GoldenD60 3 жыл бұрын
3:20 WE ALL GOT COCONUT MALLED
@pavelnovak4888
@pavelnovak4888 4 жыл бұрын
I like the Mario cart málo music
@nezbednik
@nezbednik 4 жыл бұрын
i love it
@osmineretro9591
@osmineretro9591 4 жыл бұрын
new video yay (I'm really excited!)
@DomiDave
@DomiDave Жыл бұрын
3:17 why are the variables declared _after_ the code?
@filisoafe
@filisoafe 2 жыл бұрын
im stuck on sic-1 game 's task dvision. can you paste the solution here?
@emilioschmidt2106
@emilioschmidt2106 3 жыл бұрын
I'm on Level 14
@Truttle1
@Truttle1 3 жыл бұрын
Epic!!!
@Lixxide
@Lixxide 7 ай бұрын
i really want to create this CPU
@gabi.garcez
@gabi.garcez 4 жыл бұрын
I really like the content of your videos but the audio is kinda bad and some of the FX are too loud. I'm constantly readjusting the volume throughout a video. Not to be mean, it's just because I like what you do and would like to see it get more views.
@motzyt
@motzyt 3 жыл бұрын
CORNELIUS?!?!
@commentator2.054
@commentator2.054 4 жыл бұрын
Hey Truttle, can you do a video about the language "Trumpscript"? I want to understand the syntax and it seems like a funny language
@Truttle1
@Truttle1 4 жыл бұрын
That video will either be coming out on January 20, 2021 or Janary 20, 2025.
@commentator2.054
@commentator2.054 4 жыл бұрын
@@Truttle1 i guess depending if trump is still president?
@Truttle1
@Truttle1 4 жыл бұрын
@@commentator2.054 coming back to this comment to say 2021
@1TW1-m5i
@1TW1-m5i 3 жыл бұрын
All the more reason to be thankful he's gone
@themcchuck8400
@themcchuck8400 2 жыл бұрын
@@Truttle1 Trumpscript, although popular with the maker community, was cancelled by its main competitor, Progscript. They bought the distribution system, scrambled the code base, and deleted the published packages.
@otesunki
@otesunki 3 жыл бұрын
"Instead of a normal assembly language..." what? like the RISC with subtract and branch if less than or equal to or something stupid like that? "... what If we had an assembly language with ONE instruction?" uhhhhhh SBLTE? [ looks at title ] oh oh no
@ToadComrades
@ToadComrades 4 жыл бұрын
1:30 ITS HIM ITS HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIM
@ShotgunLlama
@ShotgunLlama 4 жыл бұрын
How does Dawn OS do IO?
@DorperSystems
@DorperSystems 3 жыл бұрын
Memory mapped io
@theemeraldblock3191
@theemeraldblock3191 4 жыл бұрын
Si.
@Nicec00lkidd
@Nicec00lkidd 4 жыл бұрын
subqlek
@potatoxel7800
@potatoxel7800 4 жыл бұрын
SUB and LEQ i guess.
@Blue-Maned_Hawk
@Blue-Maned_Hawk 4 жыл бұрын
Cool
@cameron6464
@cameron6464 4 жыл бұрын
Love the vid!!!!
@hypocritical7379
@hypocritical7379 4 жыл бұрын
hey i can set up a linux website in Cent OS for you for free also it will be pretty fast
@Truttle1
@Truttle1 4 жыл бұрын
I'll set up a website on my own, but thanks for the offer.
@TheRojo387
@TheRojo387 8 ай бұрын
RISC is still superior.
@tomlamba6207
@tomlamba6207 4 жыл бұрын
Wow I was like wouldn't it be cool if he make a video on logo. And he made a video on logo! Then I was like wow wouldn't it be cool if he did a video on a minimal assembly and he made a video on subleq! Please help. I'm scared...
@Truttle1
@Truttle1 4 жыл бұрын
Did you join KZbin just to make this comment?
@tomlamba6207
@tomlamba6207 4 жыл бұрын
@@Truttle1Oh hey! No I actually just made a new account.
@MsMosoka
@MsMosoka 2 жыл бұрын
asm
@Allstreamer_
@Allstreamer_ 4 жыл бұрын
Why was this made
@Truttle1
@Truttle1 4 жыл бұрын
Fun?
@Allstreamer_
@Allstreamer_ 4 жыл бұрын
@@Truttle1 well yes but no
@Truttle1
@Truttle1 4 жыл бұрын
@@Allstreamer_ well no but yes
@spx0
@spx0 2 жыл бұрын
@@Truttle1 also it has practical applications, the first Carbon nanotube computer “Cedric” implemented only one instruction (OISC) “substract and branch of negative” !!!!!
@kaffetasse-sdv
@kaffetasse-sdv 4 жыл бұрын
Yet another great video! Even though this... thing is actually worse than brainf**k :( Will you make a video about Fortran in the future?
@arkanon8661
@arkanon8661 3 жыл бұрын
this surprisingly doesnt have many likes
Thue!
7:57
Truttle1
Рет қаралды 22 М.
Shakespeare Programming Language!
11:50
Truttle1
Рет қаралды 27 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 108 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Муж внезапно вернулся домой @Oscar_elteacher
00:43
История одного вокалиста
Рет қаралды 5 МЛН
Half-Broken Car in Heavy Traffic!
9:40
Truttle1
Рет қаралды 24 М.
NDBall!
7:35
Truttle1
Рет қаралды 21 М.
Length!
7:17
Truttle1
Рет қаралды 15 М.
AsciiDots!
9:30
Truttle1
Рет қаралды 80 М.
ALGOL?
9:41
Truttle1
Рет қаралды 29 М.
ZOMBIE Programming Language!
11:46
Truttle1
Рет қаралды 54 М.
(Dead)Fish!
11:40
Truttle1
Рет қаралды 20 М.
Malbolge!: Programming from Hell
17:51
Truttle1
Рет қаралды 46 М.
Entropy!
10:31
Truttle1
Рет қаралды 26 М.
INTERCAL!
13:55
Truttle1
Рет қаралды 22 М.
1, 2, 3, 4, 5, 6, 7, 8, 9 🙈⚽️
00:46
Celine Dept
Рет қаралды 108 МЛН