Let's Create A Toy HTML Builder in Rust

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 มิ.ย. 2024
  • In this session we take a look at creating a toy "HTML" builder in Rust,
    So why would you want to create a nestable builder like this?
    Well, an infinitely nestable builder allows one to programmatically generate some output in a typesafe and precise way.
    It’s also the “base level” building block for layering higher levels of abstractions on top of the builder, for example one could create functions that emit a particular component, and those components could of course be nested and composable.
    Or another example could be creating data adaptors that take data in one particular format and use the nestable builder to transform it to the final target format.
  • วิทยาศาสตร์และเทคโนโลยี

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

  • @init_bobjames
    @init_bobjames 13 วันที่ผ่านมา +1

    nice project wat the doodle! lets goo, lets make html element nodes and overload the dom, html bomb, can we do it?

    • @watthedoodle
      @watthedoodle  13 วันที่ผ่านมา +1

      thanks Bob! we can create fork bombs in the shell, but that's because the shell can spawn a new process, sadly HTML is interpreted and static so we can't create the equivalent or at least to my understanding it can't be done! 😆