roman

@hi@romanzolotarev.com

shellscript everything!


homehttps://romanzolotarev.com/

100 following, 438 followers

3 ★ 0 ↺

[?]roman » 🌐
@hi@romanzolotarev.com

tried to run bunnymark on in a browser on apple m1. it's running at 26-30 fps till it freezes at around 8000 bunnies. hitting memory limit?

uxn feels like a solid platform,..

...but is it technically possible to port vi to uxn? :)

    ...

    [?]Devine Lu Linvega » 🌐
    @neauoire@merveilles.town

    @hi yeah I think since each bunny takes a few shorts, after 8000 bunnies, I think it starts storing them over the program data.

    A complete neovim type editor might be tricky, but a basic should definitely be in the realm of the possible.

    @d6 wrote a little editor in that same vein you could look at for an example: git.phial.org/d6/nxu/raw/branc

      ...
      0 ★ 0 ↺

      [?]roman » 🌐
      @hi@romanzolotarev.com

      oh, cool! thank you for the pointer. let me try femto.

      p.s. to make it clear i was talking about /usr/bin/vi --- it's tiny. neovim is huge :)

        [?]cerement [he/him or your choice of neutral] » 🌐
        @cerement@social.targaryen.house

        @hi

        start with ed, then ex, then vi

        edit: but when you do the jump from vi to vim, replace vimscript with uxn

          ...
          5 ★ 1 ↺

          [?]roman » 🌐
          @hi@romanzolotarev.com

          good point. i'll probably be happy with just ed---that should be enough for coding in and writing blog posts

            ...

            [?]David Beazley » 🌐
            @dabeaz@mastodon.social

            @hi @cerement And implementing an entire programming language. m.youtube.com/watch?v=Rou26TpU

              ...
              2 ★ 0 ↺

              [?]roman » 🌐
              @hi@romanzolotarev.com

              "this is last video before bed" :)

                0 ★ 0 ↺

                [?]roman » 🌐
                @hi@romanzolotarev.com

                tried on the same apple m1, but via sdl2: 58-60 fps (yay!) and freezes when hits the same ceiling.

                now we can confirms all 8,000 bunnies can fit inside a single vm.

                p.s. in the background, ps -o %cpu,rss runs in a loop

                  History