Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. say you are programming your new favourite garbage collected unityped language.

say you are programming your new favourite garbage collected unityped language.

Scheduled Pinned Locked Moved Uncategorized
15 Posts 5 Posters 2 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dysfun@social.treehouse.systemsD This user is from outside of this forum
    dysfun@social.treehouse.systemsD This user is from outside of this forum
    dysfun@social.treehouse.systems
    wrote last edited by
    #1

    say you are programming your new favourite garbage collected unityped language.

    what does it look like?

    dysfun@social.treehouse.systemsD typeswitch@gamedev.lgbtT deech@mastodon.socialD lunadragofelis@void.lgbtL 4 Replies Last reply
    0
    • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

      say you are programming your new favourite garbage collected unityped language.

      what does it look like?

      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systems
      wrote last edited by
      #2

      yes, i'm actually building a gc in this time. blame wingo for writing one.

      1 Reply Last reply
      0
      • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

        say you are programming your new favourite garbage collected unityped language.

        what does it look like?

        typeswitch@gamedev.lgbtT This user is from outside of this forum
        typeswitch@gamedev.lgbtT This user is from outside of this forum
        typeswitch@gamedev.lgbt
        wrote last edited by
        #3

        @dysfun
        - values are homogeneous arrays and all operations are secretly array operations
        - array items are not individually garbage collected.

        dysfun@social.treehouse.systemsD 1 Reply Last reply
        0
        • typeswitch@gamedev.lgbtT typeswitch@gamedev.lgbt

          @dysfun
          - values are homogeneous arrays and all operations are secretly array operations
          - array items are not individually garbage collected.

          dysfun@social.treehouse.systemsD This user is from outside of this forum
          dysfun@social.treehouse.systemsD This user is from outside of this forum
          dysfun@social.treehouse.systems
          wrote last edited by
          #4

          @typeswitch yeah i want to but you know that's hard

          dysfun@social.treehouse.systemsD 1 Reply Last reply
          0
          • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

            @typeswitch yeah i want to but you know that's hard

            dysfun@social.treehouse.systemsD This user is from outside of this forum
            dysfun@social.treehouse.systemsD This user is from outside of this forum
            dysfun@social.treehouse.systems
            wrote last edited by
            #5

            @typeswitch i will probably save this for the less unityped version, where i want to do stuff like simd that doesn't fucking suck

            1 Reply Last reply
            0
            • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

              say you are programming your new favourite garbage collected unityped language.

              what does it look like?

              deech@mastodon.socialD This user is from outside of this forum
              deech@mastodon.socialD This user is from outside of this forum
              deech@mastodon.social
              wrote last edited by
              #6

              @dysfun jamming away on Tcl at the moment but that probably doesn't qualify as "new" or "favorite" but it's less hassle and has some other nice ecosystem properties

              dysfun@social.treehouse.systemsD 1 Reply Last reply
              0
              • deech@mastodon.socialD deech@mastodon.social

                @dysfun jamming away on Tcl at the moment but that probably doesn't qualify as "new" or "favorite" but it's less hassle and has some other nice ecosystem properties

                dysfun@social.treehouse.systemsD This user is from outside of this forum
                dysfun@social.treehouse.systemsD This user is from outside of this forum
                dysfun@social.treehouse.systems
                wrote last edited by
                #7

                @deech yes it's so new i haven't written it yet. what should it look like?

                deech@mastodon.socialD 1 Reply Last reply
                0
                • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

                  @deech yes it's so new i haven't written it yet. what should it look like?

                  deech@mastodon.socialD This user is from outside of this forum
                  deech@mastodon.socialD This user is from outside of this forum
                  deech@mastodon.social
                  wrote last edited by
                  #8

                  @dysfun probably like Shen without the typechecker

                  dysfun@social.treehouse.systemsD zardoz03@mastodon.onlineZ 2 Replies Last reply
                  0
                  • deech@mastodon.socialD deech@mastodon.social

                    @dysfun probably like Shen without the typechecker

                    dysfun@social.treehouse.systemsD This user is from outside of this forum
                    dysfun@social.treehouse.systemsD This user is from outside of this forum
                    dysfun@social.treehouse.systems
                    wrote last edited by
                    #9

                    @deech huh? literally everything i know about shen is about its types

                    deech@mastodon.socialD 1 Reply Last reply
                    0
                    • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

                      @deech huh? literally everything i know about shen is about its types

                      deech@mastodon.socialD This user is from outside of this forum
                      deech@mastodon.socialD This user is from outside of this forum
                      deech@mastodon.social
                      wrote last edited by
                      #10

                      @dysfun unless something has changed types are optional and type checking has to be explicitly enabled

                      dysfun@social.treehouse.systemsD 1 Reply Last reply
                      0
                      • deech@mastodon.socialD deech@mastodon.social

                        @dysfun unless something has changed types are optional and type checking has to be explicitly enabled

                        dysfun@social.treehouse.systemsD This user is from outside of this forum
                        dysfun@social.treehouse.systemsD This user is from outside of this forum
                        dysfun@social.treehouse.systems
                        wrote last edited by
                        #11

                        @deech it's entirely possible i missed the point, but i thought the point was the types?

                        deech@mastodon.socialD 1 Reply Last reply
                        0
                        • deech@mastodon.socialD deech@mastodon.social

                          @dysfun probably like Shen without the typechecker

                          zardoz03@mastodon.onlineZ This user is from outside of this forum
                          zardoz03@mastodon.onlineZ This user is from outside of this forum
                          zardoz03@mastodon.online
                          wrote last edited by
                          #12

                          @deech
                          i highly doubt theres a lisp thats unityped without being a turing tarpit of conses. theres probably a hard minimum of types needed that like picolisp uses, but its not 1
                          @dysfun

                          1 Reply Last reply
                          0
                          • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

                            @deech it's entirely possible i missed the point, but i thought the point was the types?

                            deech@mastodon.socialD This user is from outside of this forum
                            deech@mastodon.socialD This user is from outside of this forum
                            deech@mastodon.social
                            wrote last edited by
                            #13

                            @dysfun when i did my talks on Shen I hyped the types but even without its still a nice Lisp with pattern matching and TCO.

                            dysfun@social.treehouse.systemsD 1 Reply Last reply
                            0
                            • deech@mastodon.socialD deech@mastodon.social

                              @dysfun when i did my talks on Shen I hyped the types but even without its still a nice Lisp with pattern matching and TCO.

                              dysfun@social.treehouse.systemsD This user is from outside of this forum
                              dysfun@social.treehouse.systemsD This user is from outside of this forum
                              dysfun@social.treehouse.systems
                              wrote last edited by
                              #14

                              @deech yeah i feel like there will be pattern matching at least.

                              but i'm still not convinced the market for a lisp is very large.

                              1 Reply Last reply
                              0
                              • dysfun@social.treehouse.systemsD dysfun@social.treehouse.systems

                                say you are programming your new favourite garbage collected unityped language.

                                what does it look like?

                                lunadragofelis@void.lgbtL This user is from outside of this forum
                                lunadragofelis@void.lgbtL This user is from outside of this forum
                                lunadragofelis@void.lgbt
                                wrote last edited by
                                #15
                                @dysfun If the one type can be "object", the one type will be object.

                                #Kittyscript (the language I'm actually developing) is pretty close to it, every value has a method handler associated with it. That's a function which gets the object as the first argument, the method name as the second and followed by the arguments to the specific method. An object can also be used like a function, if it has a __call method.

                                Some objects (that are implemented as Kittyscript records or implement the KsObject interface on the Java/Kotlin level) have individual method handlers, while other objects (including Kotlin and Java objects) get handled by a "fallback" method handler that also dispatches on the type of the object.
                                1 Reply Last reply
                                1
                                0
                                • R relay@relay.mycrowd.ca shared this topic
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups