Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sixbrx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
301.
▲
by
sixbrx
13y ago
I agree that even the CLR itself needs improvements for functional programming. Besides the tail calls link you gave, there is also (according to MS) inability to implement type classes because of CLR changes that would be necessary: http
302.
▲
by
sixbrx
13y ago
It almost has to be a vector based language given its speed shortcomings, because that's the easiest way to package the canned C routines in manageable chunks to speed things up. Which C routines are just loops that manipulate scala
303.
▲
by
sixbrx
13y ago
So how easy would it be to use Rust to compile libraries to be called from non-Rust systems? I've seen reference to using #[start] and #[no_std] but it wasn't clear with the latter just how much of "std" I'd be givi
304.
▲
by
sixbrx
13y ago
I think it would be a long way from useless. The garbage collector for example would be very interesting to peruse. Sure threading and synchronization code would be differ but these have been emulated on Linux before to good effect, I don&
305.
▲
by
sixbrx
13y ago
That's the main thing I would be interested in also, but I'm thinking that's one thing that we WILL NOT see. That could seriously undercut the need to buy Windows servers.
306.
▲
by
sixbrx
13y ago
> Except if you want to handle large amounts of data efficiently, you end up using streams to read and or write those web requests. No you wouldn't, unless you're working on some tiny project where using raw servlets might be
307.
▲
by
sixbrx
13y ago
I think we can expect more from full professors than people in the checkout line. It's hard to imagine any professor in any other discipline not being fired for that. Here's another feminist who also did the same (and was eventua
308.
▲
by
sixbrx
13y ago
> I'm not sure what's complicated about the Java type system I assumed this was a reference to the unequal handling of "primitive" types vs Object types, with only the latter being able to be used with generics. Excep
309.
▲
by
sixbrx
13y ago
How about university courses about feminism, taught by self-proclaimed feminists? I've been dropped from such a course against my will for no other reason than being male IMO, after two days of class, having said nothing (like everybo
310.
▲
by
sixbrx
13y ago
I presume they still have a largish runtime attached with complicates FFI especially if callbacks are involved. I've found Java FFI to generally be a pain. Also, I think a lot of organizations would never approve using these in produc
311.
▲
by
sixbrx
13y ago
I think the biggest thing is that you would lose the REPL if you went entirely C++, which can be a big deal when you want to try things incrementally. On the other hand, this code is written in such a low-level style (nested loops mutating
312.
▲
by
sixbrx
13y ago
Neither can Oracle do this, FWIW.
313.
▲
by
sixbrx
13y ago
Thanks for the backstory, I may have been a bit naive then about how easy it would be to convert. Good to hear about RC efficiencies, I assumed they were basically shared_pointer, I haven't tried using them and will give them a look.
314.
▲
by
sixbrx
13y ago
I seem to remember that "wobble" which is how the relative roundoff error relates to the absolute error, becomes worse as the base becomes larger (the ratio being the base itself). So that may be one disadvantage in using a decim
315.
▲
by
sixbrx
13y ago
Which problem XML makes all too easy. The really annoying issue is as the parent says, that the accounts collection does not have a name. This means there's no canonical mapping for the structure into a programming language object, wh
316.
▲
by
sixbrx
13y ago
I agree it should be usable without a garbage collector, for sure. But some types of algorithms which are allocation heavy (with dynamically sized parts) will just run much faster with a good collector, and are easier to write that way. Als
317.
▲
by
sixbrx
13y ago
[Regarding Rust:] > I dont think programming with regions is easy and you would want to have a garbage collector anyway. I agree and I've been wanting to emphasize this too for a while. I think it would help Rusts adoption a lot if
318.
▲
by
sixbrx
13y ago
I thought the politics part was totally out of place and made him sound like a nut, FWIW.
319.
▲
by
sixbrx
13y ago
> business apps (I take it you mean "enterprise apps") are not the epitome of programming, much less serious programming. I'd reverse that and say the polished, packaged apps are the exceptions, these days. Code behind we
320.
▲
by
sixbrx
13y ago
Viable production-ready implementations existing on all major server platforms (without having to jettison favorite libraries here and there), is a pretty big one, but I guess that might go without saying (or maybe outside the scope of &quo
321.
▲
by
sixbrx
13y ago
I was thinking that some people would feel damned by faint praise, after their expectations were raised due to the nature of the site. "Yeah they mentioned X and Y BUT NOT Z!!!??"
322.
▲
by
sixbrx
13y ago
I guess the first customer should have had to pay a heafty restocking fee or worse, since they returned the laptop not in new condition. I think the first customer got away with a lot, aside from being foolish in not wiping their personal
323.
▲
by
sixbrx
13y ago
I have a Keurig but buy my "pods" from various other sources which are cheaper. I think they taste good in general and are very consistent and quick to make.
324.
▲
by
sixbrx
13y ago
If the support staff knows the answer to the questions immediately, and needs to probe the client a bit to find the problem, voice calls could be preferred. However, if the support staff needs to look into the problem a bit, and already has
325.
▲
by
sixbrx
13y ago
What's preventing me moving to python 3 is that I'm using Flask, and it makes it pretty clear that you probably shouldn't be running Python 3 unless you have some special reason.
326.
▲
by
sixbrx
13y ago
Wrong link, that's a different issue (type recursion). This is a good discussion about limitations of polymorphic recursion in C++: http://lambda-the-ultimate.org/node/1319
327.
▲
by
sixbrx
13y ago
> but the function prototype can not provide a strong guarantee It doesn't provide any such guarantee, and I think that was the whole point.
328.
▲
by
sixbrx
13y ago
I wouldn't say "more powerful", maybe "less constrained" (and not that that's a good thing). One thing C++ templates can't express e.g. is polymorphic recursion. http://stackoverflow.com/q
329.
▲
by
sixbrx
13y ago
From skimming the article I can't tell if C++ will have anything akin to type classes, which is how Monad is expressed in Haskell? Is that what "Concepts" will bring and which enables Monad to be expressed as well?
330.
▲
by
sixbrx
13y ago
> If it is a deal breaker for you go away from the deal. That simple. OK if he talks about why, since this is a discussion site?
More ›