Re: Hotcodereloading not working out of the box on OSX

2020-05-04 Thread carterza
[https://nim-lang.github.io/Nim/hcr](https://nim-lang.github.io/Nim/hcr) has instructions for compiling that library.

Re: Godot and Blender

2019-12-03 Thread carterza
Godot already has Nim support via GDNative. If you want Nim support for Blender, it would be better to suggest it to the Blender folks. Or you could add it yourself.

Re: Nim tutorial -- Kaushal Modi's notes

2019-12-03 Thread carterza
1. Did you ask Kaushal Modi if this was okay? 2. Why don't Vernon / other authors post about these updates themselves and why do multiple authors post messages through this single account? 3. Is Chapter 11 ever going to become something coherent / relevant, or is explaining to the Nim commu

Re: how to integrate existing react components in karax?

2019-08-10 Thread carterza
React has it's own virtual dom and so does Karax. The best thing to do probably would be to parse the JSX in a react template as well as the associated JavaScript and then convert it to equivalent Karax. Mixing two frontend frameworks isn't really a great idea IMO. You're probably just better o

Re: Any advice on doing composition well in Nim

2019-01-13 Thread carterza
Maybe try something like this - type EntityType* = enum etFighter, etMage Fighter* = object Mage* = object Color* = object RenderOrder* = object Entity* = ref object x*, y*: int chr*: char color*: Color

Re: Future of Nim ?

2018-12-21 Thread carterza
It's hard to debate with someone whose counter-argument to facts is - "I don't care."

Re: Future of Nim ?

2018-12-21 Thread carterza
Gameplay code is written in C# - the game engine itself is written in C/C++

Re: Future of Nim ?

2018-12-21 Thread carterza
@moerm \- We get you like Nim and that it suits your use case(s) fine. It still doesn't make any of what I said, untrue. @mratsim \- yes I think Nim is well-suited to ML, Data Science, Crypto etc... I know Parallelism is difficult - but Nim makes things even more difficult. OpenMP is nice in ce

Re: Future of Nim ?

2018-12-20 Thread carterza
Zig and Kit have arguably better interop capabilities with C than Nim does atm - however Nim can also interop with C++ / Obj-C and JS. Loyalty doesn't replace practicality. I've been a loyal Nim user for a couple of years now. I can't do things with Nim that I can in C++, so if I want to accomp

Re: What pattern language does the OS module use ?

2018-12-20 Thread carterza
IMO - the forum should support markdown instead of RST.

Re: Future of Nim ?

2018-12-20 Thread carterza
Right now, I can't consider Nim a competitor to C/C++ It doesn't look to replace either of these languages - at least I don't think it does. Zig for instance, has a goal to become a replacement for C - which is a very bold ambition. I do think Nim has a strong future - but I'm not sure where it

Re: How does --gc:stack work?

2018-12-09 Thread carterza
@emg \- as @cdome mentioned - your best bet is to look at the code since the feature isn't really documented. You can explicitly free the region, however I have a feeling the GC will collect it anyway regardless. Not sure what you're trying to achieve with regions - I haven't seen them used an

Re: How does --gc:stack work?

2018-12-09 Thread carterza
\--gc:stack has been named --gc:regions| ---|--- [https://github.com/nim-lang/Nim/blob/devel/lib/system/gc_regions.nim](https://github.com/nim-lang/Nim/blob/devel/lib/system/gc_regions.nim) There is not really any documentation - you basically create a memory region and then use the provi

Re: The future of NIM's WASM?

2018-11-25 Thread carterza
I'm not sure I agree with these sentiments... The JS backend gives Nim the potential to attract a whole world of developers, who might not be exposed to the language otherwise. Not that I personally want a bunch of JS devs shaping the future of Nim, but fortunately for us, the language has sens

FE web libraries

2018-11-24 Thread carterza
The JS ecosystem is a mess - I'm sure many of us will agree regarding that sentiment. I'd like to gather thoughts about Nim's current FE web libraries and if we think we should expand upon them further... Most people, who have built a website in the past half-decade are familiar with react and

Re: Memory regions / gc:regions

2018-11-24 Thread carterza
Gotcha - thanks for the explanation. I will play around with them today.

Re: classic "can not open sdl2" ...

2018-11-24 Thread carterza
This isn't true... the linker simply needs to know where to find the shared library. Depending on what compiler / linker you're using - the syntax for providing a path to linked libraries can vary. If you're using gcc for instance, you can set the LIBRARY_PATH env variable or by specifying pat

Memory regions / gc:regions

2018-11-23 Thread carterza
Does ANYONE know how to use memory regions beyond the examples that are available on the forum? These examples tend to consist of - var rx: MemRegion withRegion rx: discard 0 Run While this example code proves regions work - it doesn't prove much beyond

Re: Nim T-shirts and mugs now available

2018-11-05 Thread carterza
I wish that tee spring wasn't so awful about shipping fees, but I picked up both.

Re: could javascript backend make use of new javascript ES6 module support?

2018-09-20 Thread carterza
I'm not going to do much more explaining in this post than I have to - I have a lot of work to do still on these libraries, and then even more documentation to write regarding them. I am eating my own dog food at work though, to produce an embedded experience that will be served across potential

Re: could javascript backend make use of new javascript ES6 module support?

2018-09-08 Thread carterza
@timothee I will as soon as I am able. This library is being produced for a work project, and I need to consult with my supervisor / his boss, to ensure that we can publish the libraries I've written for this project, on github (under the company name). If not - I will publish them personally an

Re: could javascript backend make use of new javascript ES6 module support?

2018-09-05 Thread carterza
I've been working on this in my spare time over the past few evenings. I'm keeping this gist updated w/ my progress - [https://gist.github.com/zacharycarter/ccdd4e5d868e9a9acce6e15390afed49](https://gist.github.com/zacharycarter/ccdd4e5d868e9a9acce6e15390afed49) Please let me know your thoughts

Re: could javascript backend make use of new javascript ES6 module support?

2018-09-03 Thread carterza
Sorry for necroing this thread - but that web components are close to reaching maturity, I think ES6 constructs are going to be crucial to Nim's JS backend moving forward. For instance - [https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements](https://developer.mozill

Re: Perfecting Nim

2018-04-23 Thread carterza
I think interfaces or something akin to them would be much more useful for the language than methods. I don't know how hard this is to implement - that's not why I'm suggesting it - I just don't find methods particularly useful. I don't generally like exceptions - but I've also been told not use

Re: FRAG - Framework for Rather Awesome Games

2017-04-23 Thread carterza
Quick update : I'm recruiting - [http://community.fragworks.io/t/recruiting-help-wanted/15/2](http://community.fragworks.io/t/recruiting-help-wanted/15/2) I'll have more updates in the following week(s).

Re: Introducing Nimoy: A minimal experimental actor library

2017-03-31 Thread carterza
Very interested to see where this goes. Basically what andrea and dom said, once it's matured a bit.

Re: FRAG - Framework for Rather Awesome Games

2017-03-30 Thread carterza
Support for [spine](http://esotericsoftware.com/spine-in-depth) is coming to frag. Couple of notes here : * I'm binding to the official spine C runtime. Right now the bindings will be kept in the frag-spine repo along with the additional code I've written to make frag work with spine. This m

Re: FRAG - Framework for Rather Awesome Games

2017-03-29 Thread carterza
Hi @Nazariglez, Our renderer is : [https://github.com/bkaradzic/bgfx](https://github.com/bkaradzic/bgfx) : which does support WebGL. Now, having said that - we currently rely on some dependencies that might not be WebGL / asm.js friendly. Does that mean we're screwed for web targets? Not nece

Re: FRAG - Framework for Rather Awesome Games

2017-03-27 Thread carterza
We're certainly not trying to start any wars with anyone, however FRAG does offer some features Nimgame2 does not, with the added cost of complexity. If you have any questions - until we get our own website going - please feel free to ask here or in the project's gitter. Thank you for checking

FRAG - Framework for Rather Awesome Games

2017-03-26 Thread carterza
@rosshadden and I have been hard at work on a cross-platform, hardware-accelerated game development framework for the Nim community. Frag is what we've come up with - [https://github.com/fragworks/frag](https://github.com/fragworks/frag) \- and it's not quite ready yet, but I'd still like to ta

Re: nim wrapper for bearlibterminal

2017-03-26 Thread carterza
I've already wrapped BLT - [https://github.com/zacharycarter/blt-nim](https://github.com/zacharycarter/blt-nim)

Re: 7drl - Seven Day Roguelike Game Dev Competition

2017-03-02 Thread carterza
Bindings are ready now - [https://github.com/zacharycarter/blt-nim](https://github.com/zacharycarter/blt-nim)

7drl - Seven Day Roguelike Game Dev Competition

2017-03-02 Thread carterza
Hi all, 7drl - [http://7drl.org](http://7drl.org)/ \- starts this weekend. I figured I'd mention it here, as there are some bindings available to some roguelike development themed libraries in the Nim community floating around. I personally just finished bindings to - [http://foo.wyrd.name/en:

Re: Requesting help with nuklear immediate mode GUI bindings

2017-02-20 Thread carterza
Thanks for the help Araq. I think I've now got the bindings working for the most part. There may still be some missing functionality - like attaching user data to the context, but that stuff can be added relatively easily and I will do so. I'm still playing around with the drawing code / backen

Re: Requesting help with nuklear immediate mode GUI bindings

2017-02-19 Thread carterza
I've gotten passed that issue (at least on OSX) and am now facing a new issue. Please see this gist for a run down of what's going on - [https://gist.github.com/zacharycarter/de596b1968b63f2e0967d41b31b73804](https://gist.github.com/zacharycarter/de596b1968b63f2e0967d41b31b73804) vo

Re: Requesting help with nuklear immediate mode GUI bindings

2017-02-18 Thread carterza
I've updated my bindings with another simpler example - [https://github.com/zacharycarter/nuklear-nim/blob/master/testNuklear2.nim](https://github.com/zacharycarter/nuklear-nim/blob/master/testNuklear2.nim) I've removed all the GLFW code, and now the code is failing here - NK_INTERN

Requesting help with nuklear immediate mode GUI bindings

2017-02-18 Thread carterza
Hello, I'm attempting to create bindings for the C library nuklear - [https://github.com/vurtun/nuklear](https://github.com/vurtun/nuklear) Here's the github repo with my bindings - [https://github.com/zacharycarter/nuklear-nim](https://github.com/zacharycarter/nuklear-nim) Here's a descriptio