Good vs. Evil

Discussion in 'Forum Games' started by Randomguy404, Oct 12, 2014.

  1. duckfan77

    duckfan77 Well-Known Member

    17 Yay, thanks for fixing it.
     
  2. GamerwithnoGame

    GamerwithnoGame Forum Addict

  3. duckfan77

    duckfan77 Well-Known Member

    17 shudders nightmares this morning...
     
  4. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

    16 Damn, that’s never good, I hope the rest of your day was better
     
  5. duckfan77

    duckfan77 Well-Known Member

    15 It has been, so that's good.One is silly in retrospect, the other is still horrifying.
     
  6. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

    14 Well, hopefully you don’t get anymore tonight
     
  7. GamerwithnoGame

    GamerwithnoGame Forum Addict

    15. I hope you don't too :( My son's been having nightmares so often that even though he didn't last night, I still woke up at the time he normally would when he's had one.
     
  8. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

    14 Dang, that’s really not good. I’m pretty lucky in that I haven’t had one in forever.
     
  9. duckfan77

    duckfan77 Well-Known Member

    13 This last night I didn't have one, so that's good.
     
  10. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

    12 That’s pretty good
     
  11. duckfan77

    duckfan77 Well-Known Member

    11 wants snuggles
     
  12. lenscas

    lenscas Over-Achiever

    12 Seems that I need to for the engine that I use for arena_keeper.

    Good news: with some luck the only change I need to make is the size of 1 word.
     
  13. duckfan77

    duckfan77 Well-Known Member

    11 need to what? I think you lost a word there
     
  14. lenscas

    lenscas Over-Achiever

    12 for -> fork.

    I want to change how I compile it to WASM but right now quicksilver (the engine).

    When working with rust there are 2 main libraries to bind rust code to JS code so your .WASM builds can communicate with the browser. They also use their own build tools to help you get all the needed glue code and whatnot.

    These ways are std-web which uses cargo-web and wasm-bindgen which uses wasm-pack. std-web is more aimed towards allowing you to make entire applications that run inside the browser by exposing every JS function that a browser has to rust. Meanwhile, wasm-bindgen (lets call it bindgen from now on) just gives some functions/macro's so that the programmer can decide what to expose to JS and what JS functions to make available to rust.

    You also see this difference in their tools. With cargo web its simply "cargo web start" and you have a simple server setup that automatically compiles your code on changes while wasm-pack just builds your stuff.

    For a long time std-web and bindgen where incompatible with each other, but by now this is supposedly fixed with bindgen even becoming a dependency for std-web. The same can not be said for cargo web however, as that fails to create working builds if you have dependencies that rely on bindgen/wasm-pack to do their magic.. Luckily, wasm-pack should correctly build std-web and programs/libraries that depend on it.

    The reason I want to change is probably obvious by now: there is a library (an UI one to be exact) that I want to use which decided to go for bindgen rather than std-web.

    The reason I need to fork the engine is because it sets the std-web feature on for its rand dependency. This is an artifact from back when bindgen and std-web where still incompatible.

    And it seems that I have been wrong in thinking its just a one line change. Lets hope it doesn't end up being too bad and that the developer of quicksilver likes the idea of having both build tools work.
     
  15. GamerwithnoGame

    GamerwithnoGame Forum Addict

    13. I know those are all words, but I don't understand what it all means.
     
  16. duckfan77

    duckfan77 Well-Known Member

    12 Well, hopefully it goes well
     
  17. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

  18. lenscas

    lenscas Over-Achiever

    10 and.... quicksilver has a dependency that needs to be compiled with cargo web.

    Or in other words, I can't use wasm-bindgen, meaning I can't use the UI library that I wanted to port.

    Sigh....
     
  19. duckfan77

    duckfan77 Well-Known Member

    9 Unfortunate.
     
  20. MrMonsterGuy18

    MrMonsterGuy18 Well-Known Member

    8 *Insert phrase here*
     

Share This Page