Subleq!

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ต.ค. 2024

ความคิดเห็น • 105

  • @cerulity32k
    @cerulity32k 2 ปีที่แล้ว +31

    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.

  • @AlvinBalvin321
    @AlvinBalvin321 4 ปีที่แล้ว +48

    The excitement when I see the notification

    • @Truttle1
      @Truttle1  4 ปีที่แล้ว +16

      I didn't get a notification. :(

    • @AlvinBalvin321
      @AlvinBalvin321 4 ปีที่แล้ว +5

      I don’t think you get a notification when you upload your own video

    • @uob-cs3366
      @uob-cs3366 3 ปีที่แล้ว

      ذخخم جهدفعقث

    • @gamma204
      @gamma204 3 หลายเดือนก่อน

      ​@@AlvinBalvin321that was joke you ner

  • @Astronomy487
    @Astronomy487 4 ปีที่แล้ว +80

    i think this is the most absurd esolang ive ever seen on this channel

  • @emilioschmidt2106
    @emilioschmidt2106 3 ปีที่แล้ว +24

    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 2 ปีที่แล้ว +1

      any updates?

    • @emilioschmidt2106
      @emilioschmidt2106 2 ปีที่แล้ว +10

      @@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 ปีที่แล้ว +1

      @@emilioschmidt2106 sick! update part 2?

    • @josecarlos2798
      @josecarlos2798 ปีที่แล้ว +1

      You should uopload videos about it

  • @elnico5623
    @elnico5623 3 ปีที่แล้ว +19

    Wait is it... turing complete? Oh lord

    • @andrewpinedo1883
      @andrewpinedo1883 2 หลายเดือนก่อน

      Yes! Subleq is Turing-complete.

  • @imlxh7126
    @imlxh7126 3 ปีที่แล้ว +10

    Obfuscate confirmed to be a subleq computer

  • @inigo8740
    @inigo8740 4 ปีที่แล้ว +16

    Subleq was my first esolang, thanks to it I found your channel

  • @monkey_see_monkey_do
    @monkey_see_monkey_do 4 ปีที่แล้ว +23

    My favourite character is Obfuscate)))
    Man, hats off to your source of inspiration!

  • @redpepper74
    @redpepper74 3 ปีที่แล้ว +16

    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

  • @_fluffyy1028
    @_fluffyy1028 4 ปีที่แล้ว +18

    What video editing software do you use? The animation is super smooth!

    • @Truttle1
      @Truttle1  4 ปีที่แล้ว +6

      I use Moho to animate, and Adobe Premiere Pro for final edits.

  • @themcchuck8400
    @themcchuck8400 2 ปีที่แล้ว +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.

  • @kepe__
    @kepe__ 3 ปีที่แล้ว +2

    You're one of the people whose videos I instantly like now, without even watching :p

  • @chair547
    @chair547 2 ปีที่แล้ว +3

    Saying x86 assembly is low level as if REPNE SCASB doesn't exist

  • @JanxZ
    @JanxZ 4 ปีที่แล้ว +7

    This is big brain time.

  • @okboing
    @okboing 3 ปีที่แล้ว +5

    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 ปีที่แล้ว +4

      How would you create control flow?

    • @RealLifeKyurem
      @RealLifeKyurem ปีที่แล้ว

      ​@@cmyk8964 Detailed here: th-cam.com/video/4NsZES_rQ7U/w-d-xo.html

    • @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

  • @gabi.garcez
    @gabi.garcez 4 ปีที่แล้ว +6

    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.

  • @AlvinBalvin321
    @AlvinBalvin321 4 ปีที่แล้ว +10

    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 ปีที่แล้ว +1

      It does that, since it's a different variant of subleq. It takes a second to get used to...

    • @AlvinBalvin321
      @AlvinBalvin321 4 ปีที่แล้ว +3

      Ok, and also I think that’s a bit more intuitive because a comes before b so a -= b is more intuitive

  • @douro20
    @douro20 ปีที่แล้ว +1

    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.

  • @AlvinBalvin321
    @AlvinBalvin321 3 ปีที่แล้ว +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

  • @KeinNiemand
    @KeinNiemand 4 ปีที่แล้ว +6

    This is kind of like that movuscater thing where someone wrote an entire c compiler that only uses the mov instruction

    • @Truttle1
      @Truttle1  4 ปีที่แล้ว +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 ปีที่แล้ว +1

      @@AshtonSnapp esolangs.org/wiki/BitBitJump

    • @AshtonSnapp
      @AshtonSnapp 3 ปีที่แล้ว

      @@Truttle1 Interesting...

  • @faraday4160
    @faraday4160 3 ปีที่แล้ว +6

    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.

  • @official-obama
    @official-obama ปีที่แล้ว +1

    5:58 ...until you run out of memory. Then it's a finite state machine.

  • @Truttle1
    @Truttle1  4 ปีที่แล้ว +5

    Join the discord server today: discord.gg/ybTRP7a

    • @AlvinBalvin321
      @AlvinBalvin321 4 ปีที่แล้ว +1

      Already have

    • @spx0
      @spx0 2 ปีที่แล้ว

      Expired ?

  • @matthiasschatzer8641
    @matthiasschatzer8641 ปีที่แล้ว +2

    I even tried to make a subleq computer in minecraft, it should work but cant load from memory correctly, so it doesnt work

  • @Damjes
    @Damjes 2 ปีที่แล้ว +2

    What about SSB (subtract and skip if borrow). It's better because is OISC with one operand!

  • @emilioschmidt2106
    @emilioschmidt2106 3 ปีที่แล้ว +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?

  • @lucaayfmlyysiaejdsrtnnervd4646
    @lucaayfmlyysiaejdsrtnnervd4646 4 ปีที่แล้ว +1

    This is a birthday gift to me. I have my birthday tomorrow...
    Timing is crazy.

  • @osmineretro9591
    @osmineretro9591 4 ปีที่แล้ว +1

    new video yay (I'm really excited!)

  • @Orincaby
    @Orincaby 3 ปีที่แล้ว +3

    is this the only truttle1 video with 100% like ratio?

  • @kilgarragh
    @kilgarragh 2 ปีที่แล้ว +1

    you could... compile the c based linux kernel to subleq... if that cpu ever existed

    • @Lixxide
      @Lixxide 5 หลายเดือนก่อน

      i'l do it one day, maybe

  • @oblivion_2852
    @oblivion_2852 3 ปีที่แล้ว +1

    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

  • @GoldenD60
    @GoldenD60 3 ปีที่แล้ว

    3:20 WE ALL GOT COCONUT MALLED

  • @crfout1
    @crfout1 2 ปีที่แล้ว +1

    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.

  • @stagelights_
    @stagelights_ 2 ปีที่แล้ว +1

    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

  • @ToadComrades
    @ToadComrades 4 ปีที่แล้ว +4

    1:30 ITS HIM
    ITS HIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIM

  • @emilioschmidt2106
    @emilioschmidt2106 3 ปีที่แล้ว +2

    I'm on Level 14

    • @Truttle1
      @Truttle1  3 ปีที่แล้ว +1

      Epic!!!

  • @nezbednik
    @nezbednik 4 ปีที่แล้ว +1

    i love it

  • @Lixxide
    @Lixxide 5 หลายเดือนก่อน

    i really want to create this CPU

  • @otesunki
    @otesunki 3 ปีที่แล้ว +2

    "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

  • @motzyt
    @motzyt 3 ปีที่แล้ว

    CORNELIUS?!?!

  • @themcchuck8400
    @themcchuck8400 2 ปีที่แล้ว +1

    The Dawn OS website is gone. :(

  • @pavelnovak4888
    @pavelnovak4888 3 ปีที่แล้ว

    I like the Mario cart málo music

  • @DomiDave
    @DomiDave ปีที่แล้ว

    3:17 why are the variables declared _after_ the code?

  • @commentator2.054
    @commentator2.054 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +2

      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  3 ปีที่แล้ว +1

      @@commentator2.054 coming back to this comment to say 2021

    • @1TW1-m5i
      @1TW1-m5i 3 ปีที่แล้ว +1

      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.

  • @SysFan808
    @SysFan808 8 หลายเดือนก่อน

    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 3 หลายเดือนก่อน

      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.

  • @filisoafe
    @filisoafe 2 ปีที่แล้ว

    im stuck on sic-1 game 's task dvision. can you paste the solution here?

  • @etiennelct1364
    @etiennelct1364 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?

  • @cameron6464
    @cameron6464 4 ปีที่แล้ว

    Love the vid!!!!

  • @Blue-Maned_Hawk
    @Blue-Maned_Hawk 4 ปีที่แล้ว

    Cool

  • @ShotgunLlama
    @ShotgunLlama 4 ปีที่แล้ว +1

    How does Dawn OS do IO?

  • @potatoxel7800
    @potatoxel7800 4 ปีที่แล้ว

    SUB and LEQ i guess.

  • @Nicec00lkidd
    @Nicec00lkidd 4 ปีที่แล้ว

    subqlek

  • @theemeraldblock3191
    @theemeraldblock3191 4 ปีที่แล้ว

    Si.

  • @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 ปีที่แล้ว +2

      I'll set up a website on my own, but thanks for the offer.

  • @tomlamba6207
    @tomlamba6207 4 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      Did you join TH-cam just to make this comment?

    • @tomlamba6207
      @tomlamba6207 4 ปีที่แล้ว

      @@Truttle1Oh hey! No I actually just made a new account.

  • @TheRojo387
    @TheRojo387 7 หลายเดือนก่อน

    RISC is still superior.

  • @MsMosoka
    @MsMosoka 2 ปีที่แล้ว

    asm

  • @Allstreamer_
    @Allstreamer_ 4 ปีที่แล้ว +1

    Why was this made

    • @Truttle1
      @Truttle1  4 ปีที่แล้ว +5

      Fun?

    • @Allstreamer_
      @Allstreamer_ 4 ปีที่แล้ว +3

      @@Truttle1 well yes but no

    • @Truttle1
      @Truttle1  4 ปีที่แล้ว +4

      @@Allstreamer_ well no but yes

    • @spx0
      @spx0 2 ปีที่แล้ว +2

      @@Truttle1 also it has practical applications, the first Carbon nanotube computer “Cedric” implemented only one instruction (OISC) “substract and branch of negative” !!!!!

  • @arkanon8661
    @arkanon8661 3 ปีที่แล้ว

    this surprisingly doesnt have many likes