Better HN
topnewbestaskshowjobs
Log inSign up

KittenLanguage

2 karma · joined Nov 24, 2014 (12y ago) · 6 submissions

Submissions

comment 12y ago · link · parent

Thanks for your input. I disagree with a lot of Hacker News on syntax though. Syntax can be learned and is not a hurdle for anyone who is seriously into programming, but I believe it keeps people away from programming who would be interested otherwise. I also think that readability is more important than writeability since maintenance is so important with any big project, and syntax is a piece of readability (though only a piece).

I agree other things beyond syntax are more important though, but I think I have enough interesting pieces of ideas that I want to put them all together and see what the big picture looks like. Perhaps it will stay a toy language, or perhaps it will grow beyond it. Some of those ideas I haven't written down here either. One in particular that gives it hope for evolving beyond a toy language is a way to write small wrappers around C code to link it into Kitten code, so with a small amount of effort all of the impressive Microsoft libraries should be accessible for Windows computers at least.

I'll have to check out Scala, I don't know much about it. Also a couple languages I am really interested in right now are Nim and Crystal, a lot of my ideas share a lot with those two newer languages, a more static-y compile to C language than most newer languages.

comment 12y ago · link · parent

Yeah, it will work, and a checklist will not convince me otherwise. I also don't believe I can make money off of it, I was looking for opinions on if a Kickstarter would work to help me speed things up, but I never even considered using it to earn money beyond that. Yes, these projects usually go nowhere, but mine won't. I think a detailed conversation is much less condescending and much more enlightening than a checklist that is wrong on several points, such as that I am trying to make a language faster than C, and that I believe people will pay me for it (at least beyond a query on if donations was a potential idea). Also I intentionally left a lot vague as right now I am seeking opinions and not ready to unveil all of my ideas, in another year check back and by then I will have a much more detailed description.

comment 12y ago · link · parent

Thanks, maybe it's time to start playing with those languages. And yes, I have been learning first hand how difficult it is to make a general purpose language, I'm at the part where I believe I have enough of a blueprint that it will work, and that I will be able to succeed given a couple years, but I am also staring that complexity in the face each night and seeing how huge this task is :) Thanks for your advice!

comment 12y ago · link · parent

Thanks for the heads up, this is the kind of advice I was seeking!

comment 12y ago · link · parent

Thanks for your advice! Modular programming is certainly possible in other languages, the same way object oriented programming is possible in procedural languages. I believe that starting from scratch will allow me to create a much easier to use language compared if other languages were given the capabilities I am adding.

One example of this I have seen is a language called AutoIt, which is a very small language and I am amazed at how easy it is to program. One of my goals with Kitten is to make it capable as a teaching language, but also as a large project language, similar to Python. I simply love the unrestricted feel of every capability being useful.

As a contrast, I spent a lot of time with C++ in the last year, and I am constantly amazed at how much more difficult programming in it is because of older concepts. In particular, strings have caused a lot of problems, due to the many many varieties of strings between C, C++, and Microsoft data types, as well as Ansi vs Unicode and const vs non-const. There's just so much more to learn, and a lot of it is older concepts that aren't very useful.

Over the last year I have built a set of ideas that I have now gotten to play well together. These ideas include very specific syntax unlike any programming languages I have seen out there so far. I admit I have not tried many of the newer languages, but I hit a certain point where I didn't care what else was out there, I just had to build my ideas. Of course, if I do go into the Kickstarter route, I'd investigate those languages more first, right now I just decided to put something out there to see what people's first impressions were. Thanks for your input!

comment 12y ago · link · parent

I am building a new programming language that I have named Kitten, with a new paradigm I call modular. Modular programming will be as easy to learn as procedural and as powerful as object oriented. I also plan to make the language nearly as fast as C but with Python styled syntax and with a good set of libraries and data structures. My language will not use manual pointers (no memory leaks or access violations), but will also not have garbage collection or reference counting, I have an idea to make things simpler, though it may add a few restrictions to the language. It will also be easy to extend the language from C, so any C library will be able to be used if a small wrapper is built (though of course errors in that part of the code could introduce memory leaks and access violations could occur). I have many more ideas I am adding to the language, those are just a sample of what I have planned.

I have most of the language's details written up in pseudocode, hope to have a working Hello World in a month, a working prototype to give to friends in half a year, and a working prototype to post on Hacker News in a year, and a full language within 2-3 years. My problem is I am doing this on my own (which I don't want to change at this point) while working a full time job. I have thought about doing a Kickstarter to raise funds (I would ask for at least $100,000) but know the legal side of things means it would be unwise to do that until I create a company, which then would cost about $400 a year. I also don't want any kind of deals involving giving away pieces of the company, or going into debt, so donations are probably the only way I'd go. Does anyone think the Kickstarter would be worth it?