Live data from Hacker News

What Julia has that Rust desperately needs

jdiaz97.github.io

21–23 of 23 posts

Re: What Julia has that Rust desperately needs

#21

Standardizing on one external code hosting solution (GitHub) instead of a community managed one is not a solution.

No, but it is equivalent of autoexec.bat like functionality. You can use it for many many things like viruses propagation, content control and even it is helpful for users ! ;)

It's just like giving external users self-modifing code access - asm, lisp, js - let's they upload it and we execute ;)

#DONOTSENDCODE Manifesto, where ?

Re: What Julia has that Rust desperately needs

#22
post #19

Earlier quoted context omitted.

> Java's package identifiers doesn't work at all, since organizations are far more transient than code (Like, even Sun doesn't exist anymore). Seems to be working for multiple decades without issues ?. If an organization is acquired (like Sun), they still have access to their namespace. It doesn't magically go away. > For extra bonus points, the Java directory structure being built around it is just silly, related co…

> Seems to be working for multiple decades without issues? I noted a pretty damn big issue that invalidates the whole idea that the domain is a stable identifier. It's a big problem in practice, even if you're happy with keeping the old domains you may want to transfer code to someone else without giving them your domain. The solution is apparently to pretend that the problem doesn't exist. Which may be fine for Java…

To me it looks like there is an obvious solution: a package should be able to issue an update to change its name.

Something like

- maintainers of package com.foo.pkg want to transfer it to com.bar.pgk

- com.bar creates their own pgk clone and marks it as a successor to com.foo.pkg (with a specific version)

- com.foo.pkg pushes an update with that specific version marked as superseded by com.bar.pgk

- package managers warn users at update time that a change in namespace happened and ask for consent

This could be extended to multiple forks to let the user choose

I feel it would work fine

Re: What Julia has that Rust desperately needs

#23
post #19

Earlier quoted context omitted.

> Java's package identifiers doesn't work at all, since organizations are far more transient than code (Like, even Sun doesn't exist anymore). Seems to be working for multiple decades without issues ?. If an organization is acquired (like Sun), they still have access to their namespace. It doesn't magically go away. > For extra bonus points, the Java directory structure being built around it is just silly, related co…

> Seems to be working for multiple decades without issues? I noted a pretty damn big issue that invalidates the whole idea that the domain is a stable identifier. It's a big problem in practice, even if you're happy with keeping the old domains you may want to transfer code to someone else without giving them your domain. The solution is apparently to pretend that the problem doesn't exist. Which may be fine for Java…

You can easily transfer code to someone else without giving them your domain. Nothing prevents another project from publishing your code into their published GAV. This is NOT Golang - the G in GAV is decoupled from the actual domain.

> The solution is apparently to pretend that the problem doesn't exist.

No, the problem really doesn't exist.

Post reply on HN