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

I’ve never used rails, but you can actually write code that runs in the browser on the front end, in Ruby? Or is it more of a server rendering technique.


You can write HTML that includes javascript (bundled with all kinds of JS libraries if you need). But you aren't writing ruby code that turns into something that directly executes in the browser.

Although with WASM I'm sure you could write ruby that also runs in the browser (no one really does this AFAIK).




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

Search: