Better HN
topnewbestaskshowjobs
Log inSign up

yahyaheee

256 karma · joined Mar 21, 2015 (11y ago) · 230 submissions

computers
Submissions

comment 5y ago · link · parent

Yeah the cost of decentralization is so high that you really need to be gaining something from it. I’ve long said that if drugs were legal it would remove most of bitcoins usage.

Money is ultimately a reflection of power, and decentralization is merely a tool for when those power structures limit the market.

comment 5y ago · link · parent

What a great statement, its not that they can't its that they don't want to use it.

I really tried to like Julia, wrote it for months, but it misses the mark. I've been working in analytics for 10 years and of everyone I know who's tried it I only know a couple people who like Julia.

Thats a problem, and you can see it in the adoption numbers. The Julia community keeps wanting to bury their head in the sand and pretend its not which is fun.

comment 5y ago · link · parent

Python — no threads, or built in types

Julia — odd language

R — not a general purpose programming language

Most of the data scientist and ml engineers I work with want a new language. So yeah it’s not a bad idea

comment 5y ago · link · parent

yeah I keep up with the Linfra group, they are making steady progress. I hadn't seen SmartCore yet but that looks promising.

I mainly use tch-rs which are just bindings around libtorch, there are a couple edges wrapping c++ (function overloading) but overall it works great. I've also used ndarray a fair amount which is nice.

comment 5y ago · link · parent

Right because there are so many great existing options for ML

comment 5y ago · link · parent

Its useful for ML in that it requires so much optimization, that being about to drop down in the same language is incredibly handy. For ML software isn't lagging hardware its the other way around.

comment 5y ago · link · parent

It’s pretty ubiquitous among new developers but for working software engineers I think it’s uses are becoming limited.

If you need a web server there are much better choices. Data analysis and scripting are about the only places I see it used successfully nowadays

comment 5y ago · link · parent

I use Rust for ML nowadays and I love it!

comment 5y ago · link · parent

There are a lot of people who are somewhere in between these groups and providing a language that goes up and down the stack well would be super useful.

I agree it needs to be as simple as python on the high level though, or the data science end of the spectrum will just never adopt it.

comment 5y ago · link · parent

Yeah Google really messed this up, they had a golden opportunity and they went the wrong direction. Julia would have been better but IMO they should have just created a new language from scratch

comment 5y ago · link · parent

I share the exact same sentiment. I really tried hard to like Julia, spent months with it because of all the shortcomings of python. I submerged myself in its community, but at the end of the day it just never stopped feeling odd.

I’ve also recently learned Rust to replace C++ and it’s an absolute pleasure.

I do think there’s a lot of room for a new data analysis language. It’s just not Julia, I’ve been writing all my ML stuff in Rust and that’s actually been a lot of fun although I don’t see that as getting picked up by the mainstream.

comment 5y ago · link · parent

It makes things reproducible, and k8s is still containers just not docker

comment 6y ago · link · parent

I’m with Q!

comment 6y ago · link · parent

I’ve been using the Rust wrapper over torch-lib for deep learning (tch-rs) and I absolutely love it. It’s way easier to use than torch-lib and you get all the performance.

Unless c++ makes some major changes I think Rust will gain steam in all the areas you mentioned.

comment 6y ago · link · parent

So if humans are putting 38 billion tons into the atmosphere every year does this even make a dent?

comment 6y ago · link · parent

never in my 10 years of programming a bunch of languages, never done it

comment 6y ago · link · parent

Its sooo many projects, if the argument is that c++ has all these libraries, thats mute, but again the c++ devs just think everything is fine!

comment 6y ago · link · parent

I guess I'll take Rust is my no good "editor" over c++ in a "proper IDE", don't think thats gonna sell most people

comment 6y ago · link · parent

Yea agree, if your looking at it to just understand what writing a CLI in Rust is like, there are a lot of use cases in which a CLI can benefit from performance, but this isn't one of them and he doesn't call that out.

comment 6y ago · link · parent

Yea I would agree, Rust is imperative with some functional concepts baked in like a lot of languages have.

comment 6y ago · link · parent

This is the best I can find https://kubernetes.io/docs/reference/using-api/api-concepts/ there used to be a better doc on this but I can't seem to find it again.

Runtime scheme and the k8s machinery can be pretty awkward. Scheme is just a way of registering the available datatypes by group/version/kind so the client can look at any given object and figure out if it knows how to decode it.

comment 6y ago · link · parent

> If you still feel that Go is simple to learn try to read some kubernetes code

The Go code in K8s is simple, the system of Kubernetes is complex

Rust isn’t about machismo, it’s about high performance computing. Try writing graphics or machine learning code in Go, it’s not about being tough it’s about having a tool that can actually do the job.

comment 6y ago · link · parent

packaging == community

and community is the most important aspect of a language.

Yes c++ still dominates in accelerated computing but it won't for long. All these conversations I've had with c++ devs have just assured me of its demise.

Why would the next generation of developers ever use c++ over Rust?

Don't have a library? Great thats my chance to make my mark.

comment 6y ago · link · parent

In the modern world you should be able to grab things and quickly integrate them and see how they work as your prototyping projects.

C++ doesn't conform to this model.

comment 6y ago · link · parent

funny, it has all the features of an IDE

comment 6y ago · link · parent

lol "proper IDEs" ok...

vscode is one of the most used editors on the market and I seem to be able to produce quality software in a number of languages with it.

As for binary dependencies, I'm certain Rust will have that in the future. I'm fine without it for now, and what I'm not certain of is whether C++ will ever actually fix their problems because they seem to think they don't have any!

comment 6y ago · link · parent

what? Yes it is, vscode was built to be powered by extensions and they work great.

I've been using vscode for the last 5 years for all kinds of languages and have never though to myself "I wish I had an IDE"

comment 6y ago · link · parent

It was rarely a single line with C++ when I used it over the last year, moving to cargo it is literally always a single line and I was done.

Rust is going to make the C++ community actually look in the mirror for the first time in who knows how long.

comment 6y ago · link · parent

> So does any of the main package managers for C++. Never said they didn't...

> That is an empty argument. Not to mention Rust is only now in 2020 starting to get actual IDE support.

Actually thats an empty argument, I'm responding to someone saying rust doesn't have IDE support.

It does, I use it every day and it works great. Not saying c++ doesn't just saying it worked better for me than the MS c++ vscode extension.

comment 6y ago · link · parent

Its really not, even with current libraries, not when you come from languages that have a modern packaging system.

This is exemplary of why Rust will win out in the end. The c++ crowd can't acknowledge its shortcomings and fix them in a meaningful way

12345
8