• 0 Posts
  • 8 Comments
Joined 5 months ago
cake
Cake day: February 14th, 2024

help-circle

  • That actually sounds pretty cool

    Sometimes what I’d like to be able to do is treat part of an app as a core and the rest like user provided scripts, but written and evaluated in the host language and not running an embedded scripting language like lua with all the extra burden.

    E.g. you have an image editor and you want the user to be able to write native functions to process the image. Or you have a game engine and you want to inject new game code from the user without the engine being a compiler or the game logic being bundled scripts.



  • wise_pancake@lemmy.catoScience Memes@mander.xyzSTEM
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 months ago

    Mathematician: this is category theory. No, it didn’t have anything to do with categorization, it just helps us understand how spaces can map to each other. Yeah I guess it’s kinda like graph theory or algebra, but not really. We made a category of graphs, and you can use the category of graphs to represent endofunctors on the category of categories.