Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 17 2021 17:33
    csabahruska commented #8
  • Sep 17 2021 17:32
    dustinlacewell commented #8
  • Sep 17 2021 17:20
    csabahruska commented #8
  • Sep 17 2021 17:19
    csabahruska commented #8
  • Sep 17 2021 16:24
    dustinlacewell opened #8
  • Apr 01 2021 11:41

    csabahruska on master

    fix render texture viewport set… (compare)

  • Mar 31 2021 22:41

    csabahruska on master

    set the viewport size to the fu… (compare)

  • Mar 25 2021 20:39
    pippijn commented #7
  • Mar 25 2021 20:34
    csabahruska commented #7
  • Mar 25 2021 18:49
    pippijn edited #7
  • Mar 25 2021 18:48
    pippijn opened #7
  • May 21 2020 23:40
    sorenbug synchronize #6
  • May 21 2020 20:28
    sorenbug synchronize #6
  • May 21 2020 19:13
    sorenbug synchronize #6
  • May 18 2020 23:04
    sorenbug synchronize #6
  • May 18 2020 22:58
    sorenbug synchronize #6
  • May 18 2020 22:53
    sorenbug synchronize #6
  • May 18 2020 22:40
    sorenbug opened #6
  • Feb 22 2020 18:02
    EskoJTH commented #3
  • Feb 22 2020 18:00
    EskoJTH closed #3
Pippijn van Steenhoven
@pippijn
yeah
libtinfo5
I'm on libtinfo6
where's the script?
Pippijn van Steenhoven
@pippijn
thanks
running again
Csaba Hruska
@csabahruska
will take ~25mins to complete
Pippijn van Steenhoven
@pippijn
I could run it with a smaller iteration count?
Csaba Hruska
@csabahruska
what do you mean?
Pippijn van Steenhoven
@pippijn
I mean bench-simple
Csaba Hruska
@csabahruska
if 25mins is too expensive :)
Pippijn van Steenhoven
@pippijn
I don't think I'll get more out of the many iterations
not too expensive, but unnecessary
finished
Csaba Hruska
@csabahruska
now run the interpreter with -d
debug mode
then type ? + enter
you'll get the list of supported commands
e - step by step
also explore the source code to understand more
Pippijn van Steenhoven
@pippijn
nice
this is awesome
Csaba Hruska
@csabahruska
I know :D
Csaba Hruska
@csabahruska
also try mkfullpak, but first install this:
https://github.com/csabahruska/unzip-zstd#linux-build
it will be fun!
all modules for the program (cut down, dep only) each module has its own folder with hs/core/stg/cmm/asm source + stgbin
Pippijn van Steenhoven
@pippijn
do you know / have opinions on hoopl?
it seems to be dead, but parts of it went into ghc
Csaba Hruska
@csabahruska
I know hoopl
yes, it is used in GHC Cmm codegen
IMO it is a nice high level approach, but inefficient ATM due to the compiler, also Haskell has unpredictable performance in general
instead of hoopl I use Souffle Datalog
it is extremely fast
Pippijn van Steenhoven
@pippijn
hoopl is slow because of haskell?
Csaba Hruska
@csabahruska
yes
and unpredictable beacuse of haskell
Pippijn van Steenhoven
@pippijn
can it be made fast? e.g. with strictness?
Csaba Hruska
@csabahruska
I think it is considered good enough, that's why it is used in GHC
I don't think that it could be faster with strictness, it could be faster with different data represention, but that's how GHC compiles haskell
Pippijn van Steenhoven
@pippijn
could it be made to use unboxed arrays/fields to get that?
Csaba Hruska
@csabahruska
no
IDK, to be more precise
Scott Santucci
@ScottFreeCode

I vaguely recall that there is, or was at one point, a C++ backend for running the LambdaCube pipeline/IR. Am I remembering that right? And if so, is there documentation somewhere on using it?

(Context: I'm debating tweaking building the engine I want on top of Dunai in Haskell, versus building it in some language like C that's not garbage-collected.)

Csaba Hruska
@csabahruska
There is an experimental (generated) C++ GLES20 backend:
https://github.com/lambdacube3d/generated-backends/blob/master/LambdaCube.cpp
On PC use the Haskell backend:
https://github.com/lambdacube3d/lambdacube-gl
Scott Santucci
@ScottFreeCode
Thanks, I will take a look at those!
(Does the generated backend come with any particular license?)
Csaba Hruska
@csabahruska
BSD3