Re: similar language

2020-01-23 Thread Libman
> Admin note: I removed an offtopic post. Kinda arbitrary. This topic bounced between several different languages and how they compare to Nim. Vlang was mentioned on this thread before without getting censored, but my mention of it just appearing on TechEmpower was censored. Inconsistent use

Re: similar language

2020-01-22 Thread Libman
Vlang's pico framework has just burst into [the latest TechEmpower JSON](https://www.techempower.com/benchmarks/#section=test=7f65c127-fad2-4a88-a6cb-5333c68362ef=ph=json) and [Plaintext](https://www.techempower.com/benchmarks/#section=test=7f65c127-fad2-4a88-a6cb-5333c68362ef=ph=plaintext)

Re: Naming conventions - need leading underscore

2020-01-16 Thread Libman
According to the upcoming Official 21st Century Universal Code Style Guide, the correct way to write this is: type Euler* = object x, y, z, a, b. c: float64 method x( this: Euler): float64 = return this.x Run Leading and

Re: Arraymancer - v0.4.0 (May 2018)

2020-01-10 Thread Libman
Very impressive matmul results in [Kostya's benchmarks](https://github.com/kostya/benchmarks). Would be even better if s/Apache/MIT/ license...

Re: Tables or seq

2019-12-28 Thread Libman
We cannot help without more details. What database / database library / ORM are you using? How does it treat [Table](https://nim-lang.org/docs/tables.html#Table) objects differently from seq? If it's an SQL database, what SQL does it execute? Etc.

Re: What’s your favorite programming language and why?

2019-12-19 Thread Libman
Shell scripting. (I use `mksh`, slowly thinking of transitioning to `zsh`.) I find myself being able to do a huge fraction of my tasks with just shell, common Unix tools, and some very useful new command line tools (ex `jq`, `curl`, etc). I make heavy use of running `$EDITOR` (ex `vim` or

Re: Nim programme language

2019-12-12 Thread Libman
Please use more descriptive thread subjects. All of this forum is about "Nim programm[ing] language".

Re: Comparing languages by their popularity with their Rosetta Code implementation terseness.

2019-12-12 Thread Libman
It would have been great if Rosetta Code (or a blatant scrape thereof) would let people rate the aesthetic qualities of a correct implementation. No measure is perfect, but that would be more valuable than calculating code "terseness". (I hate to endorse a proprietary evil powerhouse like

Re: Editor support for Nim 1.0

2019-12-12 Thread Libman
vscode or nvim ought to be enough for everybody.

Re: Recommended GUI library?

2019-12-11 Thread Libman
Minimalists and license purists go [nuklear](https://github.com/zacharycarter/nuklear-nim).

Re: How to properly use Proxies in Nim

2019-12-11 Thread Libman
I get the same error message even from `nimble update` and `choosenim` when trying to run over an SSH proxy with `export http_proxy=socks5://0:8123`...

Re: Comparing languages by their popularity with their Rosetta Code implementation terseness.

2019-12-11 Thread Libman
I'm a big fan of programming language comparisons, and I'm happy to see one trying to measure terseness. I personally would measure terseness by first stripping out comments and empty lines, normalizing all identifier names to same length, and then counting characters weighed by typing effort

Re: How to Maintain a Nim Chinese Community

2019-12-02 Thread Libman
Of course the main gateway is banned, but people [can still](https://www.reddit.com/r/ipfs/comments/b0oe37/sending_files_to_china_via_ipfs/) use it over VPN, I2P/Tor gateways, etc.

Re: Nim is the friendliest language to start

2019-12-02 Thread Libman
> Web framework [https://nimwc.org/login](https://nimwc.org/login) [Not free software.](https://forum.nim-lang.org/t/4703)

Re: Nim @ Wikipedia

2019-10-24 Thread Libman
I added Nim to the ["Use as an intermediate language"](https://en.wikipedia.org/wiki/JavaScript#Use_as_an_intermediate_language) listing on the "JavaScript" article. Each list item there contains a name of the language that can compile to JavaScript with a one-sentence description of the

Re: Anyone here used Nim with JUCE?

2019-10-22 Thread Libman
> JUCE is not a GUI library. It is a specialized toolkit for > audio/video/DSP/plugins/MIDI software creation which also includes some GUI > support. OK, I guess this means that Qt-related audio libraries (ex.

Re: I dunno what's so hard to understand about it.

2019-10-19 Thread Libman
> the project leader has a veto right over community I just want to emphasize this point. It's Araq's toy, he can do whatever he wants. Choosing to use his Nim is our voluntary choice. If someone's not happy, they can create a fork.

Re: similar language

2019-10-19 Thread Libman
[Kostya's benchmarks](https://github.com/kostya/benchmarks) is finally back to life, and they just added Vlang. I don't know the details, but the current results are hilarious!  While we're on the subject of joking about other languages, [much D lols on

Re: Nim for enterprise software development

2019-10-19 Thread Libman
"SQLite for single-user apps and PostgreSQL when you need it" ought to be enough for everybody.

Re: Winning the Base64 benchmarks.

2019-10-16 Thread Libman
> benchmarks are a game. I agree, but in a very positive interpretation of that phrase. Competitive games are essential, both to individual human development as well as software projects. They are a feedback mechanism that challenges potential complacency, and helps bring out the best that is

Re: Rewrite daemonic CMS to NIM?

2019-10-15 Thread Libman
1\. PHP is a horrible language by every measure. 2\. Scripting languages [scale very poorly](https://www.techempower.com/benchmarks/#section=data-r17=cl=json) on the server end. 3\. The name of the programming language is "Nim", not "NIM", which implies it's an initialism. (* Calling it <

Re: Nim for enterprise software development

2019-10-15 Thread Libman
> Delphi has now the ability to run its code and GUI's on multiple platforms. > In a study Delphi had 70% of the speed of Microsoft visual c++ compiler. But > Delphi's compiler is lightning fast, it is almost like python in that sense. > Delphi also has an amazing RAD development package and is

Re: Anyone here used Nim with JUCE?

2019-10-15 Thread Libman
Someone is yet to write a JUCE library for Nim. Out of curiosity, what made you choose JUCE over [the alternatives](https://en.wikipedia.org/wiki/List_of_widget_toolkits)? JUCE has a big down-side of being [GPLv3/commercial licensed](https://github.com/WeAreROLI/JUCE/blob/master/LICENSE.md),

Re: I think we can really do better...

2019-10-15 Thread Libman
[Kostya's benchmarks](https://github.com/kostya/benchmarks) have become updated again [after a long absence](https://github.com/kostya/benchmarks/issues/179), featuring Nim v1.0.0, Rust stable, the current versions of the D compiler trio, etc. Nim's BF2 results have improved compared to [the

Re: Great tutorials needed

2019-09-26 Thread Libman
I encourage everyone to BUY the book.

Re: Great tutorials needed

2019-09-25 Thread Libman
> Is there any getting started tutorials for Nim? In addition to what was mentioned above, the great **_Nim In Action_** book is available on BitTo^H^H^H^H^H ... err ... I mean ... It's available [on Amazon](https://www.amazon.com/Nim-Action-Dominik-Picheta/dp/1617293431)! And elsewhere. >

Re: How do nim users who have some proficiency in Lisp compare the two?

2019-09-25 Thread Libman
Really the only thing that Nim and Lisp have in common is very powerful metaprogramming. Aside from that - it's a very strange comparison... Lisp is a family of programming languages, almost all of which are scripting languages without static typing. Most common Lisp implementations (ex. SBCL,

Re: [RFC] Why use Nim?

2019-09-25 Thread Libman
> Web framework with 2 Factor Authentication, ReCaptcha, WebP, Postgres/SQlite, > DbC, Hardened builds, etc. [Subject to the Pol Pot License...](https://forum.nim-lang.org/t/4703) 梁

Re: How to change C compiler globally on Linux?

2019-09-25 Thread Libman
Having a shared system-wide config file is useful in many Grandpa Unix scenarios, like shared [shell account](https://en.wikipedia.org/wiki/Shell_account) boxes. This is major retro nerd chic!  類 `nim` would be in `/usr/local/bin` on most BSDs, or `/usr/pkg/bin` or `/opt/pkg` on PkgSrc

Re: [RFC] Why use Nim?

2019-09-24 Thread Libman
I think the question of "Why use Nim?" is incomplete without context. There should be several specific variants of this question, each with a somewhat different set of arguments: * Why use Nim to teach

Re: Call to all nimble package authors

2019-09-13 Thread Libman
A few more optional field suggestions for the [dot-nimble format](https://github.com/nim-lang/nimble#nimble-reference): **Author Info:** * `author_url` \- one or more URLs about the author (since not everybody uses github). * `author_forum` \- the author's verified handle on this forum.

Re: What text editor are you using for Nim?

2019-08-02 Thread Libman
> what everyone else was using for writing Nim? I think most people use [VScode](https://code.visualstudio.com), which has [a great Nim extension](https://marketplace.visualstudio.com/items?itemName=kosz78.nim). The [Editor Support](https://github.com/nim-lang/Nim/wiki/Editor-Support) GH wiki

Re: Wow. It all 'just works'

2019-08-01 Thread Libman
Related to the above: [GitHub starts blocking developers in countries facing US trade sanctions](https://www.zdnet.com/article/github-starts-blocking-developers-in-countries-facing-us-trade-sanctions/) Of course people with unpopular political opinions have been facing informal sanctions (ex.

Re: How to Maintain a Nim Chinese Community

2019-08-01 Thread Libman
Just curious, is IPFS taking off in Mainland China? I was thinking of thinking of possibly contemplating an IPFS mirror of the Nim ecosystem (git source code, Web-site snapshots, videos, binaries, etc).

Re: How to Maintain a Nim Chinese Community

2019-07-24 Thread Libman
> I think @Araq and the team should consider hiring a Chinese speaker for > community management and engagement. This shouldn't depend on the core team. People in the FLOSS communities should be more proactive - don't wait for "The Center" to give orders. It would be awesome of any "special

Re: Nim VS The World (CoffeeScript/Boo/PureBasic/C#/ES2018/Python)

2019-07-23 Thread Libman
> > Is having a "std" GUI / drawing / clipboard / etc lib really so important > > when there are non-"std" candidates in nimble? > > Yes, quite a lot. Std GUI lib means that you can and will be able to make ui > using same code for every compatible platform and 90% extensions (like custom >

Re: Source Code Protection

2019-07-16 Thread Libman
Reverse engineering even a normal compiled binary is a lot of work, but it can be studied in memory. It's easy to obfuscate all identifier names and add computational noise (there are C/C++ products that do this), which will make reverse engineering harder but still doable. The only way to

Re: Nim VS The World (CoffeeScript/Boo/PureBasic/C#/ES2018/Python)

2019-07-15 Thread Libman
I'm sure this is interesting for some people, but the choice of languages seems peculiar. I think Nim's biggest competitors are: D, Rust, Crystal, Swift, Kotlin Native, etc... Is having a "std" GUI / drawing / clipboard / etc lib really so important when there are non-"std" candidates in

Re: Nim vs V language

2019-07-10 Thread Libman
> [It](https://github.com/vlang/v) has 1k more Github stars than > [Nim](https://github.com/nim-lang/Nim). Yet another reminder that [GitHub stars are an awful harmful way to measure](https://old.reddit.com/r/nim/comments/8q99ba/happy_5000_stars/e0i7etu/) anything... > BTW, Nim is approaching

Re: Nim vs V language

2019-07-01 Thread Libman
There goes my "V is for [Vaporware](https://en.wikipedia.org/wiki/Vaporware)" joke...  But on the other hand I do defend the author. Being overly ambitious and slow to deliver can annoy people, but there's still potential for long-term success.

Re: Nim Compilation Speed?

2019-06-28 Thread Libman
There is no such thing as "compilation speed". There are lots of different CPUs in existence: some specialized for mobile, some for home desktops, and some for multi-million-dollar super-computer compilers in the cloud. So it's about time we start measuring compilation in terms of cost (given

Re: Nim's future: GC and the newruntime

2019-06-28 Thread Libman
> Arak s/k/q > If my understanding is correct, then why should I invest in Nim when I won't > have the advantage of the GC and instead I could use another language with > the same memory-management mechanism as Nim but with a huge community behind > it, backed by Mozilla? * Nim has a much

Re: TechEmpower Web Framework Benchmarks

2019-06-04 Thread Libman
You're probably looking at their last publication, [Round 17](https://www.techempower.com/benchmarks/#section=data-r17=ph=json) from Oct 30th. See the "now" link in my previous post. Rust is way ahead in their flagship "Fortunes" benchmark (next language is at 62%).

Re: TechEmpower Web Framework Benchmarks

2019-06-04 Thread Libman
On [TechEmpower dailies](https://tfb-status.techempower.com) Rust is [now](https://www.techempower.com/benchmarks/#section=test=019d5c9b-823f-4890-8ed9-28c0a2718bdd) the absolute dominant champion in every category...

Re: Nim Advocacy & Promotion Strategies

2019-06-04 Thread Libman
> @libman please calm down and be less verbose in these quite offtopic > discussions. Yes, you like MIT and dislike GPL, we know, you don't have to > repeat it again and again... I didn't repeat it, I brought up a new point about an exodus of Python programmers not happy with the gr

Re: Nim Advocacy & Promotion Strategies

2019-06-03 Thread Libman
> My bad trying to be sarcastic on the internet. As I demonstrate, it is possible to be sarcastic without being wrong. > You may have noticed that I copied the language from your illustrative > non-source and made some replacements: > > proprietary software owners -> open-source software

Re: I think we can really do better...

2019-05-28 Thread Libman
Saying you "can swim fast" doesn't impress people. Saying you swim X meters in Y seconds doesn't impress people much because most don't have an immediate frame of reference. Saying that you've won [23](https://en.wikipedia.org/wiki/List_of_multiple_Olympic_medalists) Olympic gold medalists -

Re: Nim Advocacy & Promotion Strategies

2019-05-27 Thread Libman
> From your source: [...] It's not "source" in the journalistic sense of the word - it's an illustration. Like other links in that paragraph, there's some obvious whimsy; as there's obviously a lot of gray area between Stallman's ideals, what Stallman is able to get away with, and mildly

Re: Nim Advocacy & Promotion Strategies

2019-05-26 Thread Libman
My predictions about [SJW derangement](http://esr.ibiblio.org/?p=6918) spreading and alienating a growing minority of programmers continue to come true: * [Now political correctness infects a programming

Re: [Challenge]How short or efficient can you make this code?

2019-05-21 Thread Libman
He probably works for GitHub. 

Re: [Challenge]How short or efficient can you make this code?

2019-05-18 Thread Libman
I didn't take time to properly understand your code or to test this, but here's my idea of what clean code looks like: import os, streams, strutils var appendCodeBlock = "" var filesWeAppendTo: seq[string] let wildcard = getCurrentDir() / "*.nim" for file

Re: Nim Syntax ''Skins''

2019-05-17 Thread Libman
The idea of having a binary [AST format](https://github.com/tc39/proposal-binary-ast) [is finally](https://www.phoronix.com/scan.php?page=news_item=BinaryAST-Proposal) [lifting off in the vast swamps of JavaScript](https://blog.cloudflare.com/binary-ast/)... Whether this can benefit languages

Re: Nim video lists

2019-05-14 Thread Libman
I might need to break up the "Non-English" playlist by language... There's now [a lot of new Nim YT videos in Thai](https://www.youtube.com/channel/UCTyvSBAvdBPDS-7isD5GDdw/videos)! 

Re: Show: dali — a pure-Nim indie assembler for Android .dex & .apk files

2019-05-13 Thread Libman
[GNU Affero General Public License v3.0](https://github.com/akavel/dali/blob/master/LICENSE) 

Re: Nim vs D

2019-05-05 Thread Libman
Back on topic, [the big news in Dland](https://www.phoronix.com/scan.php?page=news_item=GCC-9.1-Compiler-Released) is: "The D programming language front-end has finally been mainlined in GCC! There is now D support beginning with GCC 9." I wonder if that will affect D's popularity...

Re: Nim vs D

2019-05-05 Thread Libman
> It's may be a strange question, but what do you think about PureBasic ? I don't think about PureBasic, because it's proprietary. I don't hate proprietary software - I'm sure plenty of people find it useful - but I have no use for it personally. It seems like PureBasic had a _raison d 'être_

Re: "First natively compiled language with hot code-reloading at runtime"

2019-05-01 Thread Libman
> Did you read the comments at the links you list? People are saying that > Common LISP was doing both at the same time in the 80s. That's why the thread title is in quotes - this is something we can discuss and qualify. Maybe the exact language of the claim needs to be altered, but I'd like

Re: "First natively compiled language with hot code-reloading at runtime"

2019-04-29 Thread Libman
There are many examples of VM and scripting languages that can do hot code reloading, including Great-Great-Great-Grandpa Lisp. And there are Lisp / Scheme implementations that can create native binaries. The questions is, can they do both at the same time?

Re: Nim @ Wikipedia

2019-04-29 Thread Libman
Yeah, that "Array Dimensions" table's First/Last columns are inconsistent between different languages. Some show how to get index, some value, some both. I just presented two things separated by ``. Also most say `0` meaning `name[0]`, which is confusing, but I didn't want to edit the other

"First natively compiled language with hot code-reloading at runtime"

2019-04-29 Thread Libman
[https://youtube.com/watch?v=7WgCt0Wooeo](https://youtube.com/watch?v=7WgCt0Wooeo) [https://slides.com/onqtam/nim_hot_code_reloading](https://slides.com/onqtam/nim_hot_code_reloading) [https://news.ycombinator.com/item?id=19738572](https://news.ycombinator.com/item?id=19738572)

Nim @ Wikipedia

2019-04-29 Thread Libman
The proposed purpose of this thread is to coordinate efforts to improve Nim-related articles on Wikipedia, and to add appropriate mentions of Nim in articles about general programming topics. I just added Nim to the "[Comparison of programming languages

Re: Extract a substring

2019-04-29 Thread Libman
Anyone familiar with Python (the most commonly taught introductory programming language, and, most importantly, [esr-approved](http://catb.org/~esr/faqs/hacker-howto.html)) should be used to to [negative indices](http://wordaligned.org/articles/negative-sequence-indices-in-python). (Nim has

Re: Nim vs D

2019-04-27 Thread Libman
> why "Projects like Nim and D can never be failures"? I've explained that point. At very least they brought value to the thousands of programmers that used them, but that's just one aspect of their achievement. D (since 2001) and Nim popularized the idea that a language can come close to the

Re: Nim vs D

2019-04-25 Thread Libman
Projects like Nim and D can never be failures. They've introduced or spread many new ideas. Many of those ideas have already crosspolinated to other languages. If some ideas don't spread, they were still a worthwhile experiment.

The Philosophies Of Software Languages

2019-04-18 Thread Libman
There's a recently-concluded series of four articles collectively titled " **The Philosophies Of Software Languages** " : * Foundations, 1940 to 1972, [From Plankalkül to C](https://www.welcometothejungle.co/fr/articles/philosophies-software-languages) (includes Fortran, Cobol, Algol,

Re: Is there a 2D game framework recently updated for Nim ?

2019-04-07 Thread Libman
Godot is probably the best 100% free game engine overall. It has 2D support [(now with "pseudo-3d")](https://godotengine.org/article/godot-32-will-get-pseudo-3d-support-2d-engine). There are [Nim bindings](https://github.com/pragmagic/godot-nim).

Re: similar language

2019-04-07 Thread Libman
> Because I'm looking for a cross-platform[Windows +Linux, etc], fast, > relatively easy language that compiles to C or C++, and which can interop or > imbed with code +libs from C or C++. I'm curious to see some evidence that FreeBASIC is "fast". (Although transpiled languages do have the

Re: Why Nim so inconsistent?

2019-04-07 Thread Libman
I think encouraging the use of `nimpretty` and extending its features could subdue a lot of criticism currently directed at Nim. It can even have options for consistency in things like: * Identifier casing / underscore style. * Forcing explicit module prefixes (probably the biggest issue

Re: Nim vs V language

2019-04-02 Thread Libman
LOL, minutes ago I happened to mention Vlang [on another thread of this forum](https://forum.nim-lang.org/t/1996) (before seeing this thread): > [...] [Vlang.io](https://vlang.io). It's not even released yet (except online > playground), but I do like the promised features and syntax, as a

Re: similar language

2019-04-02 Thread Libman
Is this a thread for mentioning obscure languages we're playing around with? If so, I'd like to mention [Vlang.io](https://vlang.io). It's not even released yet (except online playground), but I do like the promised features and syntax, as a refuge from the growing complexity of Nim. I'd call

Re: How I feel about Nim

2019-04-02 Thread Libman
> Sure, IDEs can go a long way toward helping with this problem, but if I'm > reading code on GitHub I often have no idea where a proc is coming from. This > makes it extremely difficult to trace how the code functions without cloning > it locally to open in VSCode. Well, that's a trade-off,

Re: How I feel about Nim

2019-04-02 Thread Libman
> What is it specifically about Nim that you find hard to read, compared to > which mainstream languages? Nim should not be compared with "mainstream languages". Looking at the [top of the TIOBE Index](https://archive.fo/aISH1) \- the first 17 are either VM, scripting, or unsafe systems

Re: Nim + Flutter == bright future?

2019-03-30 Thread Libman
Flutter is just Android & iPhone, right? I'd rather see advancement of [nimX](https://github.com/yglukhov/nimx) to make truly portable GUIs, including OpenBSD desktop, [Librem5](https://puri.sm/products/librem-5/) phone, etc.

Re: nim and AngelScript

2019-03-19 Thread Libman
> How can nim generate AngelScript code? If someone forks the Nim compiler and adds that backend. (Or pays someone else to do it.) Nim's core devs need to focus on much more important things. Given that [AngelScript](https://en.wikipedia.org/wiki/AngelScript) is a very obscure target (compared

Re: [some offtopic] 33 = (8866128975287528)^3+(-8778405442862239)^3+(-2736111468807040)^3

2019-03-13 Thread Libman
I wanted to play around with Nim GMP for [a much simpler experiment](https://pastebin.com/raw/yDtNktYz): seeing how long it would take to find a `clong.rand` array that [SO3C](https://en.wikipedia.org/wiki/Sums_of_three_cubes) to <2 billion, which is billions of times easier than hitting a

Re: [some offtopic] 33 = (8866128975287528)^3+(-8778405442862239)^3+(-2736111468807040)^3

2019-03-13 Thread Libman
To state the obvious... This isn't Nim related, but serious computation challenges typically require: * Looking for the most efficient search algorithm. This is for math PhDs, which I definitely am not. * The ideal algorithm would also be easy to

Re: Legal Threats In Nimble Packages

2019-03-09 Thread Libman
So a revised "Things I Recommend" list: * Checking that Nimble metadata matches the package. * Have `nimble init` suggest "Apache || MIT" as an option above plain "Apache". ("License nagging" in favor of this is becoming very common in the Rust community, which would totally destroy Nim's

Re: Legal Threats In Nimble Packages

2019-03-08 Thread Libman
> Please. You haven't contributed a single library to Nim's ecosystem, Yes, I'm a very easy target for ad hominem attacks. My interest in Nim hasn't moved beyond theoretical in 7 years. Guilty as charged. But does that invalidate all of my points? Maybe tomorrow you'll change your license to

Re: Legal Threats In Nimble Packages

2019-03-07 Thread Libman
Please understand my priorities: * Dealing with the aforementioned threat of "even more restrictive than copyleft" licenses is the most pressing concern, and it's an issue that I hope most people can agree on. Nim module licenses are not the place to punish people you don't like. * The

Legal Threats In Nimble Packages

2019-03-07 Thread Libman
Did you know that using Nim's import keyword supposedly constitutes entering into a contract? Are you aware of all the legalese imposed on you by the modules you use (as well as their dependencies, and their dependencies' dependencies, etc)? Here are a few examples: * The

Re: Nim Language group in London

2019-02-25 Thread Libman
This would be a good question category for next year's [Community Survey](https://nim-lang.org/blog/2018/10/27/community-survey-results-2018.html): * In which [major](https://en.wikipedia.org/wiki/Globalization_and_World_Cities_Research_Network#2018_city_classification) world city are you

Re: Is nim-lang recognized world wide.?

2019-02-20 Thread Libman
* Nim is in top 50 for [GitHub "star"](https://madnight.github.io/githut/#/stars/2018/4) and "issue" events. * Nimble (Nim's module registry) ecosystem is [among the fastest growing

Re: Speeding up Python with Nim

2019-02-14 Thread Libman
I know it's not the main point of this article, but use of recursion kinda dulls the excitement of " ** _Speeding Up_** Python with Nim". Why not show the fastest fib version, with a loop? This runs many orders of magnitude faster. It also works for n>92 (int64 overflow). Pre-filling an

Re: Screencast Series Ideas

2019-02-09 Thread Libman
I'd recommend a video showing off all the features of the best IDE experience Nim has to offer (which, last time I checked, was [Visual Studio Code]([https://github.com/pragmagic/vscode-nim))](https://github.com/pragmagic/vscode-nim\)\)). A lot of people probably tried Nim with another editor /

Re: Nimrod support in Geany editor

2019-02-06 Thread Libman
I'm all for Nim support in Geany, but focusing on [the most popular IDEs](http://pypl.github.io/IDE.html) first would be most beneficial... Support in IntelliJ and Visual Studio (Proprietary, not Code) is lacking...

Re: FOSDEM "Metaprogramming in Nim" talk now online

2019-02-06 Thread Libman
>From Araq's blog — [Nim and Perl](https://nim-lang.org/araq/perlish.html) — > Last month I tried to reimplement Perl in Nim and to see how well Nim's macro > system holds up for unusual domain specific language requests. **Personally I > do not like Perl at all** , but for a language designer

Re: FOSDEM 2019

2019-02-03 Thread Libman
Maybe you'll convert someone from [Ada](https://fosdem.org/2019/schedule/track/ada/) or [Rust](https://fosdem.org/2019/schedule/track/rust/) devrooms with Nim's superior syntax; or from the [Python](https://fosdem.org/2019/schedule/track/python/) devroom with superior scalability and

Re: Compile Nim compiler to JS?

2019-01-31 Thread Libman
> Is it possible to compile the Nim compiler to Javascript? Given enough foolishness, [all things are possible](https://www.xkcd.com/505/). But it would probably be _unbearably slow_. And definitely very inefficient. Heck, one can even run [Qemu in the

Re: Onsetgame ReelValley goes opensource

2019-01-30 Thread Libman
This is awesome! Thank you very much! ☺ I hope this gets as many views as possible. To promote this, I would highly recommend a more detailed blog post [(like this older one)](https://yglukhov.github.io/Making-ReelValley-Overview/) or an updated Web-site ([OnsetGame.com](http://onsetgame.com/)

Re: Nim Advocacy & Promotion Strategies

2019-01-25 Thread Libman
Latest example legal PITA from the Big Dot Com languages: [Apple is indeed patenting Swift features](https://news.ycombinator.com/item?id=18997302) > Nim is widely regarded as having too many features (which is quite unfair), > so I don't think more syntax sugar is gonna cut it. I thought the

Re: Nim Advocacy & Promotion Strategies

2019-01-21 Thread Libman
Sorry, I've made a typo / mixup in my previous post. It originally said: "Python users are used to just saying `b = 2` for _let_ ". I obviously meant: "Python users are used to just saying `b = 2` for _var_ ". There is no _var_ keyword that you have to use when first create a variable. My

Re: Thoughts on imports

2019-01-19 Thread Libman
> It might look useful for simple cases Which is what people do the majority of the time, especially when getting acquainted with a new language. Simple things should be simple and clean. > but what happens when you want to import an operator? Or if you want to > import a hash procedure that

Re: Nim Advocacy & Promotion Strategies

2019-01-19 Thread Libman
> But when you want to make Nim very similar to Python, as Crystal did it with > Ruby some years ago, then traditional OOP is the largest obstacle. Some > syntax differences really do not matter. But most Python code uses OOP style, > which is not recommended by most Nim devs. So Python people

Re: Nim Advocacy & Promotion Strategies

2019-01-19 Thread Libman
Please remember the context. This is a "Nim Advocacy & Promotion Strategies" thread that I've started 4 years ago. Other people are free to write their own strategy outline proposals, and of course these are just friendly suggestions that anyone of consequence can easily just ignore. The

Re: Nim Advocacy & Promotion Strategies

2019-01-10 Thread Libman
> Nim already has a very Python-like syntax. What is it that you suggest doing > differently? There have been lots of proposals to push Nim's syntax closer to Python, at least for the simplest things, just [like Crystal have been very successful](https://forum.nim-lang.org/t/1246) by targeting

Re: "Nim needs better documentation" - share your thoughts

2019-01-10 Thread Libman
We don't _need to_ , but there's plenty of material. That's what [v/](https://voat.co/v/programmerhumor) r/ProgrammerHumor is for. 

Re: "Nim needs better documentation" - share your thoughts

2019-01-08 Thread Libman
> @Libman 's proposal is extravagant but appealing. My [proposal](https://forum.nim-lang.org/t/4523#28308) consists of multiple small points: some are easy for one person to start, while others are more of a long-term vision. The basic idea is to use a wiki to provide additional "docum

Re: GSoC 2019

2019-01-04 Thread Libman
Have you ever wondered why Google (a for-profit mega-corp that makes money by manipulating people, and was pretty much a member of the government during the prior US administration) is giving things away for "free"?

Re: Best practices of meta-programming

2019-01-04 Thread Libman
Meta-programming has trade-offs, which is why languages like Go chose to avoid it. The main ones are: * **Added Compile Time.** Nim is already implicitly taking a stand that you shouldn't do your compiling on a low-end machine, and I believe that we are on the right side of history. (This

A new concurrency system

2019-01-04 Thread Libman
I noticed that this blog article was [just resubmitted to Hacker News](https://news.ycombinator.com/item?id=18825102) by someone named mindB. It's currently in 8th place / 24 points / no comments so far.

  1   2   3   >