Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or write a C function called http_request, refactor all of Lynx to use just this one function, and then do something like

    #if PLATFORM === 'WASM'
    then
      fetch()
    else
      the actual sockets and stuff
    end


It would not be that simple, but yes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: