News for hackers. Stuff that matters.
Re:Vapor: a type-safe web framework for Swift by cies on Sunday February 21, 2016 @09:52AM (#11144700)
I also really have great hopes for Swift as a modern, x-platform, general purpose, compiled language. Go is not general purpose; Rust is too low level. Haskell has a too steep learning curve.

Ur/Web is really great, but not at all general purpose.

Why am I hung up over "general purposeness"? Well when I learn a language, it takes quite a bit of my time; then I want to be able to apply it broadly.

Therefor I shun Node.js, Go and Erlang/Elixir.

Re:Vapor: a type-safe web framework for Swift by niutech on Saturday March 05, 2016 @08:46PM (#11232090)
Julia is general purpose and really fast. You can make desktop and web apps in it.
Re:Vapor: a type-safe web framework for Swift by cm3 on Sunday February 21, 2016 @10:11AM (#11144774)
Ur/Web is for web and thus not general purpose. I can't say if Ur (without web) is fit for general purpose use.
Re:Vapor: a type-safe web framework for Swift by mayhew on Sunday February 21, 2016 @10:24AM (#11144833)
> Go is not general purpose

Can you explain?

Re:Vapor: a type-safe web framework for Swift by wantreprenr007 on Sunday February 21, 2016 @11:11AM (#11145015)
There is no arguing with Turing equivalence of Go and most other languages but there are practical limitations which prevent more complete general purposeness.

I like Go since the beginning. However, Go cannot be easily used for kernel development, soft or hard real-time or embedded systems (no linker script support and porting runtime is weighty) and there are few transpilers.

Rust is slightly better, because PoC kernels have been put together with fewer hacks. Haskell, C, Ada, assembly are much more general purpose in terms of being able to build something like seL4, an F-15 cockpit, an engine management system or compiling code as ASIC circuitry. (Perl's supposed use in nuclear armaments notwithstanding.)

PS: I would like to see some geninuses come up with a back-back-end to LLVM or a disassembler which could formally prove binary satisfiability of program correctness without mind-bending, gibberish, over-mathematized, incantations inaccessible to us mere, stupid mortals.

Re:Vapor: a type-safe web framework for Swift by mercurial on Sunday February 21, 2016 @12:07PM (#11145289)
Which language doesn't have "practical limitations"? And it's no doubt more "general purpose" than assembly. How much webdev are you going to do with assembly?
Re:Vapor: a type-safe web framework for Swift by sulam on Sunday February 21, 2016 @01:52PM (#11145861)
Pointers please to someone working on a kernel in Swift... :)
Re:Vapor: a type-safe web framework for Swift by absker on Sunday February 21, 2016 @10:25AM (#11144839)
How is Go not general purpose?
Re:Vapor: a type-safe web framework for Swift by hellofunk on Sunday February 21, 2016 @11:16AM (#11145033)
Try to build a mobile app with Go.
Re:Vapor: a type-safe web framework for Swift by ikurei on Sunday February 21, 2016 @03:54PM (#11146466)
How are you then defining general-purpose?

I'd say a language is general-purpose when it has not been tailored to a specific scenario or area of problems, but to work well for most. Isn't that, to a great extent, true for go?

Re:Vapor: a type-safe web framework for Swift by anandroiddev on Sunday February 21, 2016 @12:28PM (#11145408)
You can build a mobile app in Go, for both Android and iOS.

https://godoc.org/golang.org/x/mobile

Re:Vapor: a type-safe web framework for Swift by hellofunk on Sunday February 21, 2016 @12:57PM (#11145559)
I didn't say you can't do it. I said, try to do it. The phrase "general purpose" must be stretched considerably in such a case.
Re:Vapor: a type-safe web framework for Swift by anandroiddev on Sunday February 21, 2016 @04:25PM (#11146617)
Is there a language you _do_ consider "general purpose"?
Re:Vapor: a type-safe web framework for Swift by hellofunk on Sunday February 21, 2016 @05:28PM (#11146940)
Yes. More than one, actually.