Better HN
topnewbestaskshowjobs
Log inSign up

AsyncAwait

7,526 karma · joined Apr 12, 2015 (11y ago) · 2,298 submissions

Submissions

comment 10y ago · link · parent

Go 1.5 uses its own pure-Go DNS resolver.

comment 10y ago · link · parent

That doesn't mean sticking with the status-quo is the solution.

Rust certainly looks like a better starting point for modern, safe low-level programming than C. C served us quite well for over 40 years, but perhaps it's time to move on...

comment 10y ago · link · parent

> Obviously my emotional venting is not the strong part of my argument.

The fact that you haven't provided any actual, technical reason why "Fuck Rust" is perhaps another part of the puzzle.

comment 10y ago · link · parent

The parent actually said "Rust or pretty much anything else", which means any memory safe language. It just happens that Rust came to his/her mind as the first choice probably because it's been talked a lot about lately on HN and memory safety is its explicit focus.

I see no "programming languages a religion zealotry" in parents post, but I see a lot of bitterness in yours. Perhaps it's time to reflect.

comment 10y ago · link · parent

I agree that some stronger regulation may be needed, but applying a broad "punish for a bug" strategy will have terrible effects for our industry as it will lead to a stagnation in innovation and a reluctancy to experiment. (We can already see this with the "Error 53" bug, where Apple is actually doing the right thing by not letting the secure enclave be compromised and getting sued for it).

Look, bugs in software are as old as software itself, comparing software to a builder is not helpful because it is simply not the same thing at all - software is a lot more abstract and the effects of doing certain things are far less measurable at composition time - also builders have several thousands of years of tradition, programmers have less than a hundred.

comment 10y ago · link · parent

Nim (http://nim-lang.org), is a language in some ways filling a similar niche to Go and they are suitable for games, because you can tune or even change the GC. Not the case with Go, so may be less suitable for soft real-time like games.

comment 10y ago · link · parent

I'm a final year undergrad with a real passion for programming using modern, well-designed languages like Rust, Swift or Elixir and I enjoy it so much that I spend most of my free time contributing to open-source.

Lately however, I've heard a lot of "I hate programming..." kind of talk from my classmates and by talking to them, I came to realise that most of them are in just for the promise of a good pay, that they do basically no programming or side projects outside of labs and that they had an illusion that the basics of C++ the university taught them is the whole deal and are only now discovering memory management, templates and such, which makes them frustrated. Also, very few of them have tried anything outside of C++, mostly because they didn't know anything else existed and didn't bother looking.

This frustrates me a great deal, since I quite frankly think that if pay is your only concern, you're better off in law, medicine, the finance/banking industry, or hell - oil & gas management for that matter.

This is the reason that the tech industry over here, (UK/not London) is so old-fashioned and extremely boring, new players not able to spring up; because these recent graduate students everyone's hiring can't do anything more complex than what a repetitive Java shop can offer.

comment 10y ago · link · parent

Suggestion: It may be a good idea to show line numbers in the code samples, since the compiler error messages, discussed in the text, refer to them quite extensibly.

comment 10y ago · link · parent

Appreciate you responding so quickly!

I certainly understand the appeal of whitespace if you're coming from Python or Haskell etc. just wanted to point out that it might not be for everybody.

As for the web development focus, I would certainly understand not wanting to discuss topics in the book that you yourself are not that confident about.

Good luck with Nim going forward.

comment 10y ago · link · parent

I like the potential of the game, but sadly it did not meet my expectations.

I saw it as a Myst-style game, where you have puzzles, but you also have a lot of interactive environment around you to explore.

Here, I was getting taken it by a lot of beautiful scenarios in the distance, only to realise that there is nothing to do there, but solve more panels. It simply feels like this beautiful island is going to waste, being a little more than a hiding place for the panels.

How's everyone feeling about this?

comment 10y ago · link · parent

Great to see Nim getting an official book, (Dominick is almost like a co-author of Nim at this point :-).

My impression of Nim is that it is what Go should have been, if language developments of the past 40 years were taken into account, so if you like the simplicity of Go's syntax, but want modern features, seriously consider Nim.

I personally couldn't get over the significant whitespace, (relying on invisible characters doesn't sit well with me) [1], but apart from that I like the language a lot!

@dom96 Do you think that the focus on web development is good to have? I realise that it is what a ton of people do these days, but since web developers already have so many technologies to pick from, perhaps selling the book as aimed more at system/game even native desktop developers could spring up more interest.

Also, how exactly is the garbage collector tied to the standard library and the language itself? For example, if I opt out of the GC completely, would I end up in a situation similar to D, where I'm not using GC but everything around me still is, so I have to carefully program around it, or is it handled differently? (And can you possibly compare Nim and D as the languages seem to be covering similar territory.)

Lastly, what major work still needs to be done before we see a 1.0 release and how best can we help Nim to move towards that goal right now?

Thanks, back to the book now...

1 - Maybe a gofmt style tool would help somewhat.

comment 10y ago · link · parent

It's not their IDE, but I agree that it is excellent.

2293.

Sourcegraph doesn't require a sourcegraph.com account anymore(src.sourcegraph.com ↗)

2 points · by AsyncAwait · 11y ago · discuss

comment 11y ago · link · parent

As a member of the Rust community, I value your opinion, however I am not at all sure where you've observed the above described behaviour. The Rust community is the first one I joined without fears of being put down by the community because of my lack of experience.

The IRC channel is among the most helpful of any programming language I've seen so far, users.rust-lang.org gets multiple helpful responses to practically any question and the subreddit is very helpful for keeping up with the latest projects and take in community input.

I also observed that the Rust core team and community are very aware of its current shortcomings and are working on them with the community via the RFC process.

It's also very easy to contribute, you don't have to sign any CLA etc., and a member of the core team will even mentor you if you wish.

It would be helpful if you offered some concrete examples instead of being this generic.

comment 11y ago · link · parent

Firefox is not the only thing that Mozilla does that is worth supporting. Their Mozilla Research projects, like Daala, Rust and Servo, are really neat and I believe deserve support, so I don't want Mozilla to go away. It is however true that some strange decisions were made in the past year, like the forced pocket integration as well as stopping the development of Persona before it was even ready etc., but they do work on interesting stuff nonetheless and are often the only major player in W3C to be on the right side of many issues, so I still think that they deserve my donations and hopefully yours too - nothing good would come from Mozilla failing.

comment 11y ago · link · parent

I'm not sure if the Intellij Go Plugin is going to be made into a separate IDE, but it's already available for their other IDEs as a plugin and they have a team improving it constantly. Notably, it also works with their open-source IDEA Community Edition.

https://github.com/go-lang-plugin-org/go-lang-idea-plugin

So far the best "Go IDE", I've used.

comment 11y ago · link · parent

How's the memory-safety model in D without a GC, last time I looked at it, it seemed to me that C++ 11/14 has the better model here and now with the C++ core guidelines, it may be even better.

2298.

Ask HN: At which point is it worth extracting the front end into its own app?

5 points · by AsyncAwait · 11y ago · 5 comments

1
7374757677