Git Product home page Git Product logo

zio3d's People

Contributors

wongelz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

zio3d's Issues

Question: factor out zio3d/core to separate wrapper library?

Hi!

I was excited to find this project as a guide to updating an old project I was working on. I wonder if factoring out the zio3d/core code to a project might be beneficial? In any case, I can plan to just use the code as-is for now, so no worries.

Error type in ZIO wrappers for LWJGL

I noticed that most of the functions in e.g. glfw\package.scala have a return type like UIO[A] or ZIO[GLFW, Nothing, A], implying that exceptions should not be possible. However, it seems that it like is possible - here's a case for NullPointerException:

https://linustechtips.com/topic/584923-java-lwjgl-3-exception/?tab=comments

My understanding is that it may be more accurate to model these with the Throwable error type, e.g. Task[A] or RIO[GLFW, A], though there may be downsides to this I'm not aware of (likely related to needing to handle that rather ambiguous error type).

Cannot run it on Windows as well as on Linux (on Windows, WSL)

Hello! Interesting project, curious to run, but after compiling I see following in PowerShell or Ubuntu terminal:

[info] Done updating.                                                                                                  [info] Compiling 69 Scala sources to C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\classes ...               [info] Non-compiled module 'compiler-bridge_2.13' for Scala 2.13.0. Compiling...                                       [info]   Compilation completed in 6.335s.                                                                              [info] Done compiling.                                                                                                 [info] Packaging C:\Users\albert.bikeev\Projects\zio3d\target\scala-2.13\zio3d_2.13-0.1.jar ...                        [info] Done packaging.                                                                                                 [info] Running (fork) zio3d.game.Main                                                                                  [error] Error: Could not create the Java Virtual Machine.                                                              [error] Error: A fatal exception has occurred. Program will exit.                                                      [error] Unrecognized option: -XstartOnFirstThread                                                                      [error] Nonzero exit code returned from runner: 1                                                                      [error] (Compile / run) Nonzero exit code returned from runner: 1                                                      [error] Total time: 22 s, completed Dec 6, 2019 6:00:23 PM    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.