jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang | Please consider participating in our mailing lists => https://pony.groups.io/g/pony
laucer has joined #ponylang
<laucer> hey
<laucer> does anybody want to help a new user with finding issues?
<doublec> laucer: sure
<doublec> laucer: best just to ask and lurk as people will answer as they come online
laucer_ has joined #ponylang
<laucer_> okey
laucer_ has quit [Client Quit]
laucer has quit [Ping timeout: 260 seconds]
jemc has quit [Ping timeout: 248 seconds]
theodus has joined #ponylang
theodus has quit [Quit: Page closed]
jemc has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
jemc has joined #ponylang
c355e3b has quit [Quit: Connection closed for inactivity]
srenatus[m] has quit [Ping timeout: 260 seconds]
NhanH has quit [Ping timeout: 260 seconds]
SeanTAllen has quit [Ping timeout: 260 seconds]
SeanTAllen has joined #ponylang
NhanH has joined #ponylang
srenatus[m] has joined #ponylang
jemc has quit [Ping timeout: 260 seconds]
graaff has joined #ponylang
amclain has quit [Quit: Leaving]
graaff has quit [Quit: Leaving]
_andre has joined #ponylang
Matthias247 has joined #ponylang
jtfmumm- has quit [Ping timeout: 245 seconds]
jtfmumm- has joined #ponylang
Praetonus has joined #ponylang
dobedo has joined #ponylang
c355e3b has joined #ponylang
fraggle1 has joined #ponylang
dobedo has quit [Quit: Page closed]
jemc has joined #ponylang
TwoNotes has joined #ponylang
<TwoNotes> Turns out there is a bug in audio drivers on Rpi3 that makes pulseaudio hang. So my 'hang' problem was not in my code. There is a workaround, which I was able to easily implement with a Pony Timer.
<TwoNotes> Is it bad to have more than one "Timers" list in a program?
<jemc> TwoNotes: I don't think it's problematic, other than being less efficient
<jemc> if it makes sense for the sanity/cleanliness of your code to keep them separate, it's probably worth it
<TwoNotes> One is in a 'package', the other not. So not particularly easy
<TwoNotes> One, I could eliminate entirely on 'some' platforms. Are there any predefined 'ifdef' symbols I could use?
<jemc> yes, there are some predefined ifdefs
<jemc> related to platform
<jemc> I will pull up the list
mollymorphic has quit [Quit: leaving]
amclain has joined #ponylang
Rishav has joined #ponylang
<Rishav> Hi. just found Pony. On paper it sounds amazing for gamedev. I had a few questions that I hope you guys can answer
<Rishav> 1. Is there any package manager?
<Rishav> 2. are there mature bindings for glfw + opengl?
SeanTAllen has quit [Read error: Connection reset by peer]
SeanTAllen has joined #ponylang
<Rishav> 1. Is there any package manager?
<Rishav> 2. are there mature bindings for glfw + opengl?
prettyvanilla has quit [Ping timeout: 246 seconds]
prettyvanilla has joined #ponylang
prettyvanilla_ has joined #ponylang
prettyvanilla has quit [Ping timeout: 250 seconds]
<TwoNotes> How do define a function only on one platform? It looks I can not wrap ifdef around a fun definition.
<SeanTAllen> TwoNotes: you can wrap the body of the function in the ifdef
<TwoNotes> How about variable declarations?
<SeanTAllen> Rishav: no package manager. no mature bindings. you'd be a trail blazer.
<SeanTAllen> TwoNotes: at the moment, it would be defined across all platforms
<TwoNotes> Ok, I will just conditionalize the calls to those functions.
<SeanTAllen> that is what we do at the moment
<TwoNotes> Does the optimizer throw away uncalled functions?
<jemc> yes
<jemc> there is a "reach" phase of the compiler that selects only reachable code for code generation
<Rishav> for a trailblazer, i cant figure out how to run it on windows....
<Rishav> :D
<Rishav> I downloaded the windows binaries. now am i to just use it from command or use it in VS?
<Rishav> PS C:\Users\rsharan\Desktop\PonyLang\ponyc-release-0.9.0-1990.5a0bd57-win64\ponyc\bin> .\ponyc.exe .\helloWorld.pony Building builtin -> C:\Users\rsharan\Desktop\PonyLang\ponyc-release-0.9.0-1990.5a0bd57-win64\packages\builtin Error: .\helloWorld.pony: couldn't locate this path
<Rishav> i also get exception if i just try to run ponyc.exe
<Rishav> PS C:\Users\rsharan\Desktop\PonyLang\ponyc-release-0.9.0-1990.5a0bd57-win64\ponyc\bin> .\ponyc.exe Building builtin -> C:\Users\rsharan\Desktop\PonyLang\ponyc-release-0.9.0-1990.5a0bd57-win64\packages\builtin Building . -> C:\Users\rsharan\Desktop\PonyLang\ponyc-release-0.9.0-1990.5a0bd57-win64\ponyc\bin Generating Reachability Selector painting Data prototypes Data types Function prototypes Functions Descriptors Optimising
<jemc> Rishav: I can't help much with windows, but if you're interested in game development with Pony on windows *specifically*, there are at least a few other "trailblazers" along with you - you may find this video interesting: https://www.youtube.com/watch?v=waYj4eV0RFE
<jemc> Rishav: your second paste looks like the expected output
<Rishav> oops. missed the last line -__-
<Rishav> Optimising Writing .\bin.obj Linking .\bin.exe LINK : fatal error LNK1104: cannot open file 'ucrt.lib'
<jemc> ponyc doesn't require the list of files to be compiled - it only needs to be run in a directory where `.pony` files are
<jemc> as for the ucrt.lib issue, you're not the first one to see this - https://github.com/ponylang/ponyc/issues/1150 - I think you need the "Windows 10 SDK"
<TwoNotes> ponyc will compile all the files it finds in that directory into a single executable.
<Rishav> okies. installing sdk now. will report back in 10 mins
_andre has quit [Quit: leaving]
<Rishav> got it working.
jemc has quit [Ping timeout: 258 seconds]
<SeanTAllen> excellent
Rishav has quit [Ping timeout: 260 seconds]
fraggle1 has quit [Ping timeout: 244 seconds]
TwoNotes has quit [Quit: Leaving.]
Matthias247 has quit [Read error: Connection reset by peer]
Praetonus has quit [Quit: Leaving]