Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jesserayadkins2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
jesserayadkins2
10y ago
My language (Lily) handles the problem by trying to avoid the gc where it can. Lily is statically-typed, built-in classes can't be inherited from, and there's no C-like casting. With those rules in mind, most objects can't be
2.
▲
by
jesserayadkins2
10y ago
It has good intentions, but it might make someone ask themselves if the boss thinks that their use of colors needs to be changed. If it was a good choice, then why bring it up, they might ask themselves.
3.
▲
Version 0.17 of Lily. The project turns 5 today, too
(github.com)
1 points
by
jesserayadkins2
10y ago
|
0 comments
4.
▲
by
jesserayadkins2
10y ago
I have a github account established, and it has a couple of projects on it. One, a telnet client, is missing. I keep forgetting to add that in. I've been meaning to, once the language is more established, to spread the packages out int
5.
▲
by
jesserayadkins2
10y ago
I was diagnosed with Aspergers early on in life. For a long time, I tried to ignore it. But there's parts that you can't. It's difficult to make friends when you can't read people's intentions or read between the li
6.
▲
by
jesserayadkins2
10y ago
Multiple return values I'm not very interested in. Lily has first-class tuples, and you can return a tuple which I might later add in desugaring for. But multiple return values themselves cause a lot of problems with the internals bein
7.
▲
by
jesserayadkins2
10y ago
No, I'm just terrible at making up examples so cats! Cats everywhere!
8.
▲
by
jesserayadkins2
10y ago
I can't seem to find it. Am I missing something?
9.
▲
by
jesserayadkins2
10y ago
Thanks! I started Lily to be an alternative to PHP. The first commit was adding templating support, and it was a while before the language could be standalone. I had two requirements when creating and designing Lily: One, that the language
10.
▲
by
jesserayadkins2
10y ago
I couldn't think of a good name. I had ideas of something like Meteor or Hurricane or Tornado. The first was taken, and I -very- quickly had second thoughts about the other two. My mom, from time to time, mentioned that she really like
11.
▲
by
jesserayadkins2
10y ago
Thank you! As for me, I'm not so sure what to share. I'm not all that exciting. Most of the time I have I spend on Lily. Once in a while I take a break. But I don't get out that often. Lily's nice in that it's a pla
12.
▲
by
jesserayadkins2
10y ago
This is a big problem in the language now. There's no solid apis for working with the frontend (invoking the parser and getting a result). The backend apis are acceptable, except that it's difficult to move values around. I'm
13.
▲
by
jesserayadkins2
10y ago
It's probably possible, especially with today's compilers being smarter about using those instructions. You're right, in that concat is currently only available through interpolation. At the moment, I'm not interested in
14.
▲
by
jesserayadkins2
10y ago
That's a good question, and unfortunately one that I'm at a loss as to how to answer right now. I've been focused more on building it, and less on using it. However, I've been looking to change that lately now that the c
15.
▲
by
jesserayadkins2
10y ago
I owe ESR a lot for writing about struct packing, because that's a large part of how Lily uses so little memory: http://www.catb.org/esr/structure-packing/
16.
▲
by
jesserayadkins2
10y ago
Const is something that I'd like to think over before adding it. A question I have is what happens if a List is const, or should it just be that only primitives are const? I could see const values being optimized as just literals down
17.
▲
by
jesserayadkins2
10y ago
First of all, thank you! As for what motivates me, it's a few different things: * The challenge of it. Lily's one of the few things that I've done where I feel really challenged, and where I can actually make a true differenc
18.
▲
by
jesserayadkins2
10y ago
There's no operator overloading. I'm pretty reluctant to add it too, because I've seen it be abused far, far too many times. It has uses, yes, but I'm not very interested in it at the moment. I won't say absolutely
19.
▲
by
jesserayadkins2
10y ago
No traits yet. A few other things need to be done first. Generics need to be name-able, System F, and core api is a more pressing need right now. My plan is to tackle traits in a few months, so long as everything goes well. But I want the a
20.
▲
by
jesserayadkins2
10y ago
To my understanding, Swift wasn't public for a long time. The idea behind requiring a special syntax for interpolation is that it's supposed to be more clear as to do you really want interpolation, or do you not actually want it.
21.
▲
by
jesserayadkins2
10y ago
No, there's only one constructor for any given class. The body of a class is the constructor of a class, and that constructor is made available through a method called .new. It's sort of like...Python, and imagining that you get _
22.
▲
by
jesserayadkins2
10y ago
They're the same thing. The first (Cat(arg)) is the same thing as the second (Cat.new(arg)). The reason for the distinction is...umm...I'm still not sure if I want to eventually include classes as values the way that other things
23.
▲
by
jesserayadkins2
10y ago
I've heard a few complaints about this now, so I'm thinking of changing it. I wanted to cram a lot into a small space, and it didn't do so well. The piping is more an example of how piping works with everything and that, yes,
24.
▲
by
jesserayadkins2
10y ago
Actually, no, I've never used C# except for a few minutes and only one time. I have more experience with the syntax of Scala and Rust. Between the two, I found Rust's more appealing. I like that enums serve a single purpose and ca
25.
▲
by
jesserayadkins2
10y ago
Thank you! I've spent a great deal of time on it. As for that module, I admit that it's pretty bare-bones (so is postgres). Both were made as a proof-of-concept, to be fleshed out at some later point in time. Header support was, a
26.
▲
Show HN: The Lily Programmming Language
(github.com)
16 points
by
jesserayadkins2
10y ago
|
3 comments
27.
▲
Merging Tuples of any arity, in a statically-typed language (Lily)
(codehereandthere.blogspot.com)
1 points
by
jesserayadkins2
10y ago
|
0 comments
28.
▲
by
jesserayadkins2
10y ago
Neat tool, but the results are disappointing for me. :(
29.
▲
by
jesserayadkins2
10y ago
What's even worse is that it's not even a good Ruby like Crystal. It seems to be missing any sort of callable object (can't find any mention of a proc, a block, or a lambda in the website documentation). So consequently there
30.
▲
by
jesserayadkins2
10y ago
I'm biased in the matter, but I have to agree. There are a number of problems with it. Arrays are covariant, and object is the base class of everything. I'm surprised that nobody's noticed that already (it's unsafe: arra
More ›