Live data from Hacker News

Poll: What Programming Language Do You Use for Server Side Web Development?

news.ycombinator.com

81–90 of 135 posts

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#82
post #71

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

The nice thing about the JVM is that it's contained and has excellent monitoring and profiling tools. Anyway: What about kotlin [0]? * 100% java compatible * can compile to the JVM and javascript, so you should be able to run it with node. [0]: https://kotlinlang.org/ Googling found this: https://jonninja.github.io/node.kt/

We use Kotlin. Their JS transpiler stuff is still pretty new, though they are back to working on it post 1.0.

If you use Kotlin, use the JVM - at least for now.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#83

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

I will be revisiting OCaml sometime in the near future to write a more solid web framework for it (compared to OWebl). This time it will be based on FastCGI rather than doing the networking itself I think.

In the meantime, I'm more actively working on Ponyo for Standard ML right now. Take a look at the ponyo.org server[0] for a brief glance at what it can do today.

Check out the /r/sml wiki if you are trying to get started. And please join #sml on Freenode if you have any questions!

[0] https://github.com/eatonphil/ponyo/blob/master/site/server/s...

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#84

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

With type hints in Python 3.5+, does Python fit your list? Genuinely curious.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#85
post #49

PHP. It may be old, tricky to debug, and cumbersome to write long projects with but the ability to bounce in and out of logic on a simple, proven, well adopted stack that has plenty of knowledge-base and ready machines everywhere has it's advantages. Plus, I've heard a lot of developers knock PHP but I've yet to see a problem solved with Ruby or Python that couldn't have been solved with PHP.

That last sentence is pretty true of any combination of languages and it feels defensive.

It is and it is.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#86

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

You need Elixir with the Phoenix framework!

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#87

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

Modern JVM based frameworks are far from being "monsters", and you have a lot, lot of choices! Many of them have an embedded HTTP server so they are very easy to develop and deploy.

In case you want to investigate some:

- https://grails.org

- http://sparkjava.com

- https://www.playframework.com

- http://projects.spring.io/spring-boot

- https://www.spincast.org

- http://jooby.org

- http://www.ninjaframework.org/

- http://www.dropwizard.io/0.9.3/docs/

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#88

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

Check out Ur/Web[1].

It's a functional, pure and statically typed language inspired by Haskell. It claims that programs that compile successfully cannot:

- Suffer from any kinds of code-injection attacks

- Return invalid HTML

- Contain dead intra-application links

- Have mismatches between HTML forms and the fields expected by their handlers

- Include client-side code that makes incorrect assumptions about the "AJAX"-style services that the remote web server provides

- Attempt invalid SQL queries

- Use improper marshaling or unmarshaling in communication with SQL databases or between

[1]: http://www.impredicative.com/ur/

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#89
post #51

Here we go again with JavaScript. Can't wait for this cycle to go back down like it did back when jQuery and Node first came out and everyone jumped on the bandwagon.

After all this time it's still interesting to see how much hate there is out there for JavaScript even though it has proven itself a more that capable language across multiple platforms.

It's not so much the hate for JavaScript. It's the hate for the developers who know nothing about computing history making all the same mistakes as with any other platform while being so darned insistent that the world will run only on JavaScript any day now because JavaScript is the uber language.

Re: Poll: What Programming Language Do You Use for Server Side Web Development?

#90

I haven't found a web server language to my liking yet. Maybe I'm too picky, but I'd like to satisfy all of these requirements: - Static typing -- I want to eliminate as many runtime bugs as I can - Type inference -- Like in SML and Haskell - No JVM -- Personal preference, but I'd rather not pull in this monster if I don't have to. - Good pre-made web framework -- I've briefly looked at OCaml but the web frameworks s…

You need Elixir with the Phoenix framework!

Isn't Elixir dynamically typed?
Post reply on HN