Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
themihai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
571.
▲
by
themihai
10y ago
All the browsers supporting WebAssembly are evergreen browsers. I don't think asm.js is worth supporting once WebAssembly format stabilises(i.e. by the end of this year).
572.
▲
by
themihai
10y ago
It may be fun for a few hours but reading clickbait headlines excessively is like eating vomit. I'm sure these people have quotas to meet so I doubt even more the "fun" element.
573.
▲
by
themihai
10y ago
>An obvious enhancement would be to use the WebAssembly backend of the upstream LLVM, and then using Emscripten+Binaryen to convert the generated WebAssembly to asm.js. why would you convert WebAssembly to asm.js?
574.
▲
by
themihai
10y ago
Well, that's the point! If you don't want inaccurate imports and just want to remove unused imports you can comment that line. A better option would be to use an additional argument to that function (removeOnly bool) and perhaps a
575.
▲
by
themihai
10y ago
>He said "hell, use Swift" -- which didn't imply that he's considering it the first or best recourse. I've got that but it was too late... the comment was already posted. I've up-voted his response. The rest
576.
▲
by
themihai
10y ago
> Goimports doesn't help when the name is ambiguous. You can fork it and set it to only remove unused imports. In fact I've done just that few days ago but for different reasons(i.e. I generate some small programs and I use goi
577.
▲
by
themihai
10y ago
what about the lack of static typing?
578.
▲
by
themihai
10y ago
I find swift the worst choice for a start-up right now. Why would you use a language that's only half baked? Don't you have more important things to do than porting the standard library to linux? Not to mention the lack of concurr
579.
▲
by
themihai
10y ago
You don't know what you are talking about. Have you seen any Swift backend used in production? Would you use C++ for a web API? Go was developed because C++ is a horibble language and I'm glad it didn't adopt the expressiven
580.
▲
by
themihai
10y ago
Do you find using pub/extern keywords more elegant than a simple capitalization? To me rust is verbose in many cases like java with a lot keywords heading towards C++ complexity which is exactly what Go tries to avoid. I understand tha
581.
▲
by
themihai
10y ago
In practice you don't really have this problem. It's a beginners issue thst's not worth "fixing" because there are tools that can help(goimports). I'm glad there are not such compiler flags.
582.
▲
by
themihai
10y ago
I don't know what that means. Deploying on UNIX/Linux usually means uploading the code somewhere using a standard protocol (i.e. ftp ) or proprietary API. Part of that you need to execute a program so I'm wondering, what make
583.
▲
by
themihai
10y ago
There would be a lot of heart attacks and cancers due the doping abuse. Not to mention the ethics. I'm not sure who would like to sponsor a such environment/event. Maybe the pharmaceutical industry but even for them would become d
584.
▲
by
themihai
10y ago
I don't know. From the microsoft docs I understand that it has some limitations so most likely it won't work without some patching. Why would you use a linux subsystem instead of "native" linux anyway? It seems designed
585.
▲
by
themihai
10y ago
TS was developed to avoid replacement of JS(i.e by something like Dart) so I doubt better JS training could help it.
586.
▲
by
themihai
10y ago
Performance and size. You can't get better performance or smaller size than a manual written js solution. wasm is supposed to give you both( better performance and smaller payload size). I'm wondering how many people will see valu
587.
▲
by
themihai
10y ago
Well... what DNS are you currently using now? Isn't a 3rd party? I had 8.8.8.8 so I guess the switch is no-brainer
588.
▲
by
themihai
10y ago
Do you prefer :: instead of / ? Btw go doesn't use URLs, just domain and path (e.g randomsofr.io/pkg/subpkg )
589.
▲
by
themihai
10y ago
As a package user you could use your own git mirroring server or just use a fork. Even simpler just vendor it and you are safe from package removal. On the other hand a central distribution model is more problematic. As package author I wan
590.
▲
by
themihai
10y ago
You can see the number of imports and import graph on godoc. I don't see that on crates.io. You can also see if it's a fork on github. What is on crates.io link that is missing on Godoc? More colours? The package author chooses
591.
▲
by
themihai
10y ago
You forgot to mention these modern languages with a good dep system.
592.
▲
by
themihai
10y ago
I think cargo does too much. For example it has a bunch of meta information which could be extracted from the source code(i.e package documentation), the imports must be manually maintained in a config file(the Go way is to extract them fro
593.
▲
by
themihai
10y ago
Apple has no interest to provide Windows support. They support linux because it's the most used backend OS and on top of that it's Open Source. Fortunately Swift is open source so anyone can contribute and make Windows an official
594.
▲
by
themihai
10y ago
Well.... if only one of them is hijacked you are busted!
595.
▲
by
themihai
10y ago
Something tells me that you are wrong. Just because Edge is shipped with VP9 support that doesn't mean the MS grants all the windows patents to Google, right? Of course if you want to develop a VP9++ and patent it that could be an issu
596.
▲
by
themihai
10y ago
Wouldn't be enough to have list of curated libraries documented somewhere in the official rust documentation? It seems to me that a "platform" support would encourage monolitic designs(i.e packages that work only within a spe
597.
▲
by
themihai
10y ago
You have modules, use, extern, cargo.toml, cargo.lock. It looks quite verbose and redundant to me. I expected it to simplify but moving more to config files seems a backwards step. I may be biases but I find the Go import/packing vastl
598.
▲
by
themihai
10y ago
VP9 is a open and royalty free video coding format. You are safe as long as you don't sue Google for VP9 patent infringements. It seems to target MPEG so that if they sue Google their license is revoked and Google can claim patents inf
599.
▲
by
themihai
10y ago
So if you don't know what to do the solution is to download all the possible packages?Is there a user story/use case solved this way? The documentation for each package is available online so wouldn't make sense to actually r
600.
▲
by
themihai
10y ago
The package you mentioned has about 200 imports. Compare that with the standard package. https://godoc.org/?q=Flag
More ›