Live data from Hacker News

Prologue: A web framework written in Nim

github.com

21–30 of 72 posts

Re: Prologue: A web framework written in Nim

#21

NIM really is a full stack language and ecosystem. It has a first class compiler to JavaScript (though, I admit, I don't know how tuneable it is, so I think it just compiles down to ES5, it'd be nice to do a differential build where it would compile down to ES5 and/or ES2015/ES2016 at the users discretion) Only thing it needs now is a compile to CSS solution and you would never have to leave the language. Its a very…

Qt + DOtherSide/NimQML is working out to be a decent GUI framework for desktop app development.

https://github.com/filcuc/DOtherSide

https://github.com/filcuc/nimqml

LGPL compliance is an important consideration owing to Qt's being LGPL licensed, but it's actually not a big deal despite there being a lot of FUD around it:

https://www.gnu.org/licenses/gpl-faq.en.html#LGPLStaticVsDyn...

Re: Prologue: A web framework written in Nim

#22
post #3

I guess all roads do lead to Prolog. Why risk the naming confusion? Doing a search for "prologue language" yields millions of Prolog results on both DDG and Google.

This project isnt a language, it's a framework. Searching "prologue framework" or "prologue web framework" returns this repo as the first result.

But is is confusing if you know what Prolog is.

Real world example: Once there was a new browser from Mozilla called Firebird. There was also a previously established RDBMS called Firebird. No one believed the browser and the RDBMS would be confused, but none the less Firebird the Browser is now called Firefox. The reason is a little confused - Mozilla at the time claimed something like "Firefox was only the code name", but I think they would have left it alone if the people from Firebird RDBMS hadn't asked them to rethink the naming.

Edit: also, searching for "prolog web framework" gets you stuff about using prolog for web application development. So, yeah, naming is not great and your assertion is not entirely correct.

The first few hits I got were:

* https://www.metalevel.at/prolog/web

* https://github.com/Anniepoo/weblog

* http://www.pathwayslms.com/swipltuts/html/index.html

And no sniff of this new framework.

Re: Prologue: A web framework written in Nim

#23
post #15

It seems nothing groundbreaking. A router, some middleware and websockets. Also, nim is a mess. Very poorly designed language. I tried it a couple of years ago and was repelled by its syntax and attempts to solve every single problem for you.

> It seems nothing groundbreaking. A router, some middleware and websockets.

That is standard for Micro service/Web framework. 2 functions and a router and you are now "Open source Web framework" author on github.

Re: Prologue: A web framework written in Nim

#24
post #17
post #4

Earlier quoted context omitted.

It's getting to be almost impossible not to have a similar name to something else.

As a new user, I was able to get a pronounceable(ish) 4-letter username. It's not always hard. But Prologue is an English word and a lot of English words are taken. (and probably many words in other languages, too)

When I try to search for your name, I only get hits on some country radio channel. I could search for ‘wezl hacker news’, but it would have been easier if you had chosen a non-colliding name to begin with.

Re: Prologue: A web framework written in Nim

#25

NIM really is a full stack language and ecosystem. It has a first class compiler to JavaScript (though, I admit, I don't know how tuneable it is, so I think it just compiles down to ES5, it'd be nice to do a differential build where it would compile down to ES5 and/or ES2015/ES2016 at the users discretion) Only thing it needs now is a compile to CSS solution and you would never have to leave the language. Its a very…

Why even bring up that style gripe? You acknowledge it's relatively small and inconsequential. If you're excited to see where the language goes, don't drag things down with completely subjective aesthetic criticisms.

Re: Prologue: A web framework written in Nim

#26

NIM really is a full stack language and ecosystem. It has a first class compiler to JavaScript (though, I admit, I don't know how tuneable it is, so I think it just compiles down to ES5, it'd be nice to do a differential build where it would compile down to ES5 and/or ES2015/ES2016 at the users discretion) Only thing it needs now is a compile to CSS solution and you would never have to leave the language. Its a very…

Regarding GUI, there is also https://github.com/yglukhov/nimx which is based on OpenGL.

> Nimx officially supports Linux, MacOS, Windows, Android, iOS, Javascript (with Nim JS backend) and Asm.js/WebAssembly (with Nim C backend and Emscripten).

Re: Prologue: A web framework written in Nim

#27

NIM really is a full stack language and ecosystem. It has a first class compiler to JavaScript (though, I admit, I don't know how tuneable it is, so I think it just compiles down to ES5, it'd be nice to do a differential build where it would compile down to ES5 and/or ES2015/ES2016 at the users discretion) Only thing it needs now is a compile to CSS solution and you would never have to leave the language. Its a very…

Why even bring up that style gripe? You acknowledge it's relatively small and inconsequential. If you're excited to see where the language goes, don't drag things down with completely subjective aesthetic criticisms.

I wasn't a huge fan of that style too but it's growing on me. More importantly, it's worth noting that this is also intended for experimental features which can eventually become part of the language syntax. eg:

    proc hello(greeting: string): string {.noSideEffect.}
became

    func hello(greeting: string): string

Re: Prologue: A web framework written in Nim

#28
post #3

I guess all roads do lead to Prolog. Why risk the naming confusion? Doing a search for "prologue language" yields millions of Prolog results on both DDG and Google.

It's no different than other languagages. If I'm searching for something about the express framework, I include "js" or "node" in my search terms.

Same for rails, add "ruby".

"go" is also a fun one…

Re: Prologue: A web framework written in Nim

#29
post #15

It seems nothing groundbreaking. A router, some middleware and websockets. Also, nim is a mess. Very poorly designed language. I tried it a couple of years ago and was repelled by its syntax and attempts to solve every single problem for you.

> attempts to solve every single problem for you.

What are you talking about?

Re: Prologue: A web framework written in Nim

#30

NIM really is a full stack language and ecosystem. It has a first class compiler to JavaScript (though, I admit, I don't know how tuneable it is, so I think it just compiles down to ES5, it'd be nice to do a differential build where it would compile down to ES5 and/or ES2015/ES2016 at the users discretion) Only thing it needs now is a compile to CSS solution and you would never have to leave the language. Its a very…

Why even bring up that style gripe? You acknowledge it's relatively small and inconsequential. If you're excited to see where the language goes, don't drag things down with completely subjective aesthetic criticisms.

Simply, I'm not one to give praise through a rose colored lens. This is especially true in a place like HN, where its entirely possible the core maintainers of a project may read my feedback, and may or may not feel inclined to clarify, quantify, or at least acknowledge what I have to say about a project.

I'm not bringing it down by being honest in how I feel. My praise for nim is genuine and forthright, and I've recommended many others looking to get more performance coming from a Python background give it an honest look. This is completely subjective, but I don't like 'ugliness' in a syntax. Sometimes it can be changed, sometimes it can't, and it is what it is, I get that, doesn't mean I won't mention it. There's a certain beauty to how a syntax looks when being written, IMO. Why else would developers spend so much time on theming, font choices etc for their editors? :)

tl;dr I'm not one to shy away from giving honest feedback

Post reply on HN