Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adgasf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
adgasf
7y ago
In addition to that, the .NET runtime supports tail calls but the JVM does not, IIRC.
32.
▲
by
adgasf
7y ago
I think was true before .NET Core, but now the experience is quite good. It's also possible to use F# as a compile-to-js language using Fable. This code would run on Node or the browser. Then there is https://github.com/
33.
▲
by
adgasf
7y ago
Presumably you need some functionality in the dependencies that you use. If you don't use a package manager then your options are: * Import the dependency manually. This is taking a dependency without the formal description a package m
34.
▲
Imperative Computation in F#
(tomasp.net)
1 points
by
adgasf
7y ago
|
0 comments
35.
▲
by
adgasf
7y ago
I can't imagine writing C++ without lambdas and auto
36.
▲
Why CornflowerBlue?
(blogs.msdn.microsoft.com)
1 points
by
adgasf
7y ago
|
0 comments
37.
▲
Java 13 Switch Expressions
(blog.codefx.org)
1 points
by
adgasf
7y ago
|
0 comments
38.
▲
by
adgasf
7y ago
System package managers rarely offer all of the packages you need.
39.
▲
Writing an F# Type Provider
(aaron-powell.com)
1 points
by
adgasf
7y ago
|
0 comments
40.
▲
by
adgasf
7y ago
The question is: is this thing inherently complex or is it more complicated than it needs to be? In software there are many things that are more complex than they need to be.
41.
▲
by
adgasf
7y ago
The argument against that is that if sellers cannot increase prices in times of crisis they have no incentive to stockpile for such events. This leads to shortages and even higher prices on an unregulated black-market. I'm not saying t
42.
▲
by
adgasf
7y ago
Ninja is an optimized back-end for other build-systems (including but not limited to CMake). It's not really intended to be used directly.
43.
▲
by
adgasf
7y ago
I am definitely not hinting at CMake! Better options are Bazel, Buck and Please. Please is the most light-weight option.
44.
▲
by
adgasf
7y ago
Makefiles are too low level to be convenient for anything other than simple projects on one platform.
45.
▲
Disraeli GEARS – A collection of obscure bike derailleur designs
(disraeligears.co.uk)
1 points
by
adgasf
7y ago
|
0 comments
46.
▲
by
adgasf
7y ago
Not at all. The class definition syntax is very terse and you can use the mutable keyword for imperative programming. In fact, I think F# is a better imperative language than C#, if you choose to use it that way.
47.
▲
Chiron: JSON, Ducks and Monads in F#
(neoeinstein.github.io)
1 points
by
adgasf
7y ago
|
0 comments
48.
▲
by
adgasf
7y ago
Sad to see no mention of the impure ML languages (OCaml, F#, PureScript, etc). For me these strike a great balance between powerful abstractions and the ability to throw things together.
49.
▲
by
adgasf
7y ago
Can anyone help explain if Rust asyncs are hot (as in JavaScript, C++) or cold (as in F#)?
50.
▲
by
adgasf
7y ago
It does automatically start the tasks. JavaScript asyncs are "hot". You can simulate "cold" asyncs using a function, as you describe, but in other languages this is how they work by default.
51.
▲
by
adgasf
7y ago
OP was suggesting that systems like Bazel are harder to get started with but pay off with larger, more complex builds. However, I am claiming that Bazel is also good for the simple cases.
52.
▲
by
adgasf
7y ago
Does Bazel break up these steps automatically under the hood? It could, in theory.
53.
▲
by
adgasf
7y ago
Doesn't Bazel hash the compiler and env variables to prevent this? The only way to poison the cache then is to break things at an OS level, which is highly unlikely.
54.
▲
by
adgasf
7y ago
> bazel works better if you have 1 library per header What do you mean?
55.
▲
by
adgasf
7y ago
Except the Bazel syntax is really good. Compiling a few C++ files into a binary is just: cc_binary( name = "app", srcs = glob([ "*.hpp", "*.cpp" ]), ) That's more concise than most
56.
▲
by
adgasf
7y ago
Windows support seems to be very lacking.
57.
▲
by
adgasf
7y ago
Do you review all of the source-code that you run? If you trust the source-code due to its origin, why not trust a binary?
58.
▲
by
adgasf
7y ago
It works in the best sense (no dev prompt, does not require cygwin)
59.
▲
by
adgasf
7y ago
Bazel already works on Windows.
60.
▲
by
adgasf
7y ago
Meson does not have the same feature set as Bazel. Most notably sandboxing and remote execution.
More ›