Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
progman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
progman
10y ago
The reason why Lisp is not mainstream is its power. It makes writing DSLs extremely easy so that everyone can write his own DSL to solve a certain problem. Such style of writing however makes Lisp code unsuitable for group working, and henc
152.
▲
by
progman
10y ago
Dejavu: > Early 2010s: Cloud computing 1960s: Client/Server Architecture. Big servers and small clients. > Mid 2010s: Quantum computing before 1950s: Analog Computers https://en.wikipedia.org/wiki/Analog_comp
153.
▲
by
progman
10y ago
> why should we suddenly start writing Lisp? The language is older than C, for god's sake. If so many "modern" languages still copy features from Lisp (hello C++) then why not use the real thing? All those nice "new&q
154.
▲
by
progman
10y ago
Or you can use Devuan: https://devuan.org
155.
▲
by
progman
10y ago
Indeed. That's what Nim and Rust (for instance) can do to ease porting to other platforms. Even safety critical applications can be written in C by using tools like FramaC. https://frama-c.com
156.
▲
by
progman
10y ago
You need a lot of discipline in the overall design of your application so that you can add code and data at any time without messing up the design. It's easy to add code in most languages, even for unexpected features which were not co
157.
▲
by
progman
10y ago
I know Ada not D. Nim's subrange are close to Ada. If you define a type t1 = range [5..20] and you assign a value of 1 to a variable of type t1 then you get a compilation or runtime error.
158.
▲
by
progman
10y ago
That's good news, thanks!
159.
▲
by
progman
10y ago
Rust is an awesome language. It has the power to replace C++ and Java as industry standard. However, there are three points which annoy me. First, the Rust compiler is huge (LLVM based). Second, it requires a native Rust compiler for bootst
160.
▲
by
progman
10y ago
> Lots of small little quirks that weren't greatly documented. For instance? > But most languages are designed to constrain the programmer to a way of thinking, a series of patterns. Lisp was the opposite. Lisp is still the oppos
161.
▲
by
progman
10y ago
I have purchased Nim in Action at the first version, and I recommend it to anyone who is seriously interested in Nim.
162.
▲
by
progman
10y ago
> What syntax and abstractions you like are down to how you think Obviously this is not only my problem because there are only sparely applications written in Haskell. It is possible to write real world applications in Haskell, as proven
163.
▲
by
progman
10y ago
I disagree. I have written a lot of Lisp and Scheme code, and now I am very content with Nim. I also tried Rust and Haskell but those languages are too cluttering for me. Nim is compact, well readable, powerful and performant. Nim develope
164.
▲
by
progman
10y ago
> However, unlike Lisp macros, there are no templates That's wrong. Nim has both macros and templates. > Lisp macros are not necessarily shorter, but it's far easier to see what's going on. Even Lisp macros are not perf
165.
▲
by
progman
10y ago
Not only that. Nim also has benefits like Ada's range types, a sophisticated macro system, and Perl's native regular expression syntax. It also compiles to C which makes porting to other platforms easy.
166.
▲
by
progman
10y ago
> My dream is to buy up the Commodore / Amiga IP and make a "true" successor (as I have stated in the past several times!). Honestly, good luck and success! I owned a C64, and I remember a lot of fun I had with this thing
167.
▲
by
progman
10y ago
Isn't this a general attitude? I think it applies to many programming languages, in particular at developers who know only their one favorite language. I learned Forth on a 6502 besides Basic and Assembler, and it was the language with
168.
▲
by
progman
10y ago
> Keybindings gave me so much pain Why didn't you define your custom keys with global-set-key in Emacs Lisp? This is one of the first things an Emacs novice should learn and do.
169.
▲
by
progman
10y ago
Thanks for pointing this out. However, your example is not equivalent since "ls" searches only in the current directory. Nevertheless it is good to know that it's basically possible since it helps a lot to manage mixed Window
170.
▲
by
progman
10y ago
> text "scraping" is just better for most cases. Unix pipes handle bytes, not just text. For instance, copy a hard disk partition to a remote hard disk via ssh: (dd if=/dev/hda1) | (ssh root@host dd of=/dev&#
171.
▲
by
progman
10y ago
> What makes you think this is default? Some of those features are default in Nim, some (strongspaces) are not. I say that all such weird features should be optional in general so that newcomers don't get scared off. Also case and
172.
▲
by
progman
10y ago
I am a strong proponent of Nim but this is probably the worst idea I have ever encountered in language development. Honestly! Partial case sensitivity and the special underscore case are features I can live with. Unfortunately this has actu
173.
▲
by
progman
10y ago
> You avoid allocations wherever possible If you don't have to write cutting-edge games or embedded software for tiny systems, why do you have to care about allocations at all? Today's systems and RAM's are so fast that ga
174.
▲
by
progman
10y ago
There actually is one high-level Python-like language that really is almost "as fast as C". http://nim-lang.org I am using it for years already, and it is really performant, somewhere between C and Rust. I am still won
175.
▲
by
progman
10y ago
> You can write very dense code in Lisp (and the author makes the point several times on how little lines of code you need for this vs. that). However, who's going to read that and understand it? > Lisp is great if you want to wr
176.
▲
by
progman
10y ago
http://www.linuxinsider.com/story/Facebooks-OpenCellular-Off...
177.
▲
by
progman
10y ago
From the users of course. Remember the modem times when the users had to pay for the phone bills. In the same way users could use their phone lines for the next internet. We could also build a wifi mesh with mobile devices.
178.
▲
by
progman
10y ago
> Why does it need to be non-commercial? We already have a commercial Internet, we don't need a second one. Commercial interests would make the second Internet also a target of control.
179.
▲
by
progman
10y ago
Personal domains won't help you if the state releases laws which enables providers to silence whole domains against unwanted opinions. What we need is a new decentralized Internet. We need not only open source software (for security r
180.
▲
by
progman
10y ago
3d printer testers should use a default model with complex geometry which makes comparison much easier. For instance, http://www.thingiverse.com/thing:1019228
More ›