A site like this, but for language development?

Questions, comments, and suggestions about this site should go here.
bonch
Member
Member
Posts: 52
Joined: Thu Aug 18, 2011 11:19 pm

Re: A site like this, but for language development?

Post by bonch »

Yeah I saw that but doesn't seem very active? I wished for a more community driven site. Or like the OP said, "like this".
fronty
Member
Member
Posts: 188
Joined: Mon Jan 14, 2008 5:53 am
Location: Helsinki

Re: A site like this, but for language development?

Post by fronty »

There's already active discussion going, there's no need for new discussion forum, and you can get information from books and articles. Okay, some kind of wiki or something could make searching for information easier, but is there enough people to make that kind of thing happen? I would answer no.
bonch
Member
Member
Posts: 52
Joined: Thu Aug 18, 2011 11:19 pm

Re: A site like this, but for language development?

Post by bonch »

fronty wrote:There's already active discussion going, there's no need for new discussion forum, and you can get information from books and articles. Okay, some kind of wiki or something could make searching for information easier, but is there enough people to make that kind of thing happen? I would answer no.
Yeah you might be right about that. It's strange to me tho - as operating system development seems fairly dead in the commercial world. Few companies are designing new operating systems. The most innovative thing that happens is GOOG writing a new window manager for Linux. In language design, on the other hand, there is a huge amount of innovation and research going on. But this is not reflected amongst hobbyist.

The most interesting thing I've found is http://nemerle.org/About/
cxzuk
Member
Member
Posts: 164
Joined: Mon Dec 21, 2009 6:03 pm

Re: A site like this, but for language development?

Post by cxzuk »

bonch wrote:
fronty wrote:There's already active discussion going, there's no need for new discussion forum, and you can get information from books and articles. Okay, some kind of wiki or something could make searching for information easier, but is there enough people to make that kind of thing happen? I would answer no.
Yeah you might be right about that. It's strange to me tho - as operating system development seems fairly dead in the commercial world. Few companies are designing new operating systems. The most innovative thing that happens is GOOG writing a new window manager for Linux. In language design, on the other hand, there is a huge amount of innovation and research going on. But this is not reflected amongst hobbyist.

The most interesting thing I've found is http://nemerle.org/About/

kernel development is extremely hard, information is limited, unorganized and out of date making it a very specialist area. plus i think we've hit the "good enough" stage of development.

having said that there has been some great work in research for 3rd gen microkernels and us hobby folk are still plodding along trying new things.
ACcurrent
Member
Member
Posts: 125
Joined: Thu Aug 11, 2011 12:04 am
Location: Watching You

Re: A site like this, but for language development?

Post by ACcurrent »

If you were to expand the topic from language dev to VM design then you would have a large following. There are tons of emulators written by hobbyists and it is quite fun. Having said that though, it is almost every 9 year old's dream to write an OS (or a window manager which they an call an OS) where as language dev is kind of the thing that lies around at the back of peoples minds. Why couldn't c++'s class interface have been better? Python is awesome but its slow! kind of thing. Also OSes tend to implement the same thing (paging, etc.) and are long term projects where as it takes 20 minutes to write a brainfuck interpreter/compiler in c++ and there about a quadrillion different techniques in use.
Get back to work!
Github
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: A site like this, but for language development?

Post by Love4Boobies »

ACcurrent wrote:Python is awesome but its slow!
Python is a language (which does not impose any performance requirements), not a compiler. That's like saying English is slow. E.g., a compiled Python implementation will result in much faster programs than, say, a Python interpreter. However, I can think of reasons why Python isn't so great; reference counting is at the top of the list.
ACcurrent wrote:it takes 20 minutes to write a brainfuck interpreter/compiler in c++ and there about a quadrillion different techniques in use.
It should take 20 minutes to write 10 lines of code.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
MasterLee
Member
Member
Posts: 90
Joined: Fri Mar 13, 2009 8:51 am

Re: A site like this, but for language development?

Post by MasterLee »

Love4Boobies wrote:
ACcurrent wrote:Python is awesome but its slow!
Python is a language (which does not impose any performance requirements), not a compiler. That's like saying English is slow. E.g., a compiled Python implementation will result in much faster programs than, say, a Python interpreter. However, I can think of reasons why Python isn't so great; reference counting is at the top of the list.
As you sayed before Python is language (which does not impose any implementation details). Which is like saying carving English into stone is not that lightweight implementation. Not all python compilers (better say not all target VMs) use reference counting for garbage collection and most that does also implement other methods to detect reference loops.
50₰
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: A site like this, but for language development?

Post by Love4Boobies »

I was expecting that argument. The problem, however, is that programming languages can be either prescriptively defined (i.e., defined via formal specifications; e.g., C) or descriptively defined (i.e., defined by the existing implementations and the body of existing code; e.g., PHP). As they gain popularity, many languages that start in the latter category eventually move to the former because as you get more implementations, consensus becomes more important and to form consensus, specifications become more important and more abstract. Python is currently in the uncomfortable transition period.

To illustrate my point, I'll use C as an example. In the past, certian things, such as passing structures to functions, sometimes worked and sometimes didn't. Because a lot of code relied on such behavior, the specification had to incorporate support for it. This was fortunate... now ask yourself whether the inclusion of gets in the standard library is as fortunate (luckly, C1X finally dropped it). Similarly, there's a lot of code that relies on reference couting.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: A site like this, but for language development?

Post by Rusky »

Love4Boobies wrote:
ACcurrent wrote:Python is awesome but its slow!
Python is a language (which does not impose any performance requirements), not a compiler. That's like saying English is slow. E.g., a compiled Python implementation will result in much faster programs than, say, a Python interpreter. However, I can think of reasons why Python isn't so great; reference counting is at the top of the list.
Python, as a language, does impose several restrictions on the interpreter, compiler, etc. that impact performance. In the general case, Python cannot be as fast as, for example, C, because of the facilities that must be available to the programmer.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: A site like this, but for language development?

Post by Love4Boobies »

The reason you think that is that you're making assumptions about the underlying platform, whereas Python is a portable language. For instance, have you tried comparing x86 (RISC architecture with a CISC ISA layer on top) to Itanium (VLIW architecture where compiler hints are an intimate part of the design; many other examples exist) to picoJava (which natively runs the managed Java bytecode; many other examples exist) to CPUs that natively run high-level languages (I've heard of quite a few CPUs that natively run Pascal or other languages, but the most relevant to this discussion is probably PyMite)?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
MasterLee
Member
Member
Posts: 90
Joined: Fri Mar 13, 2009 8:51 am

Re: A site like this, but for language development?

Post by MasterLee »

Rusky wrote:Python, as a language, does impose several restrictions on the interpreter, compiler, etc. that impact performance. In the general case, Python cannot be as fast as, for example, C, because of the facilities that must be available to the programmer.
http://morepypy.blogspot.com/2011/08/py ... tring.html
Even trough you could speed C up by doing some manual optimization that example shows that your Thesis is false.
50₰
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: A site like this, but for language development?

Post by Combuster »

You only proved there exists lousy C programmers. :evil:
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: A site like this, but for language development?

Post by Solar »

Rule: Don't believe statistics you didn't make up yourself.

Profiling corollary: Don't believe the benchmarks of anyone who is actively involved in only one of the two technologies benchmarked.

Insight: If two languages are sufficiently different in concept, it is impossible to find a piece of code for both of them that is 1) non-trivial, 2) functionally equivalent, 3) the optimum way to solve an actual problem in both of them at the same time.

I can go about proving how this or that string operation or 1..10000 loop is faster in either language. That doesn't tell much about overall performance. Pascal strings are very much faster than C strings if you're concatenating them or checking their length. Does that make Pascal the more efficient language overall? C++ sort() beats the living daylights out of C qsort(). Does that make C++ the more efficient language overall?
Every good solution is obvious once you've found it.
User avatar
Rusky
Member
Member
Posts: 792
Joined: Wed Jan 06, 2010 7:07 pm

Re: A site like this, but for language development?

Post by Rusky »

Additionally, that PyPy sample relies on not providing the information available, in general, to Python programs.

As I said, in the general case, Python is slower. Even if you had a Python processor, you still have to deal with dynamic typing, reflection/everything-as-dictionaries, etc. You can get rid of that in some cases, but there's a reason PyPy came up with RPython.
MasterLee
Member
Member
Posts: 90
Joined: Fri Mar 13, 2009 8:51 am

Re: A site like this, but for language development?

Post by MasterLee »

Solar wrote:Rule: Don't believe statistics you didn't make up yourself.

Profiling corollary: Don't believe the benchmarks of anyone who is actively involved in only one of the two technologies benchmarked.

Insight: If two languages are sufficiently different in concept, it is impossible to find a piece of code for both of them that is 1) non-trivial, 2) functionally equivalent, 3) the optimum way to solve an actual problem in both of them at the same time.

I can go about proving how this or that string operation or 1..10000 loop is faster in either language. That doesn't tell much about overall performance. Pascal strings are very much faster than C strings if you're concatenating them or checking their length. Does that make Pascal the more efficient language overall? C++ sort() beats the living daylights out of C qsort(). Does that make C++ the more efficient language overall?
You take it much to far i only want to prove that the thesis „Python cannot be as fast as, for example, C“ is wrong.
Given an language L1 that is faster as an language L2 in some tasks an slower in other tasks. An language L3 will be faster as booth language if (optimal) translators are available that can translate code in L3 to L1 and L2.
50₰
Post Reply