!nrWTeiJJWRzqMEWwAy:matrix.org

OpenMW Development

1901 Members
OpenMW project channel. Discussion of topics loosely related to the project development. || https://openmw.org/ || Rules: https://rentry.co/omw_rules || Other rooms related to OpenMW: #openmw-space:matrix.org8 Servers

Load older messages


SenderMessageTime
26 Sep 2022
@_discord_471429575919009802:t2bot.iojvoisin#8882 luajit doesn't work on arm64 15:02:10
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 I can't believe in this, why we have working blob in brew after that? 15:03:19
@_discord_721408105740632154:t2bot.ioZehMatt https://github.com/LuaJIT/LuaJIT/blob/v2.1/src/vm_arm64.dasc ? 15:15:00
@_discord_471429575919009802:t2bot.iojvoisin#8882 dang, my bad then 15:15:50
@_discord_471429575919009802:t2bot.iojvoisin#8882 looks like my knowledge of luajit is a bit outdated 15:16:02
@_discord_721408105740632154:t2bot.ioZehMatt luajit works on arm, ppc, mips, x86/x64 15:16:22
@_discord_721408105740632154:t2bot.ioZehMatt pretty wide support 😄 15:16:41
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 🏃‍♂️ so let's looks in this a bit deeper ... 15:25:48
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 Returning to this, who can help me in just advicing how to implement this? Im kinda web and infra person and dont really understand Cmake 15:44:29
27 Sep 2022
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 So you just luajit from brew and made make install from tarball? 16:10:21
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 * So you are just deleted luajit from brew and made make install from tarball? 16:10:30
@_discord_1005307944562339861:t2bot.iooniatenosenpai#2436 * So you are just deleted LuaJIT from Homebrew and made make install from tarball? 16:10:44
@_discord_231501123423436801:t2bot.iotetramir Finally in my huge refactor, the error count is starting to go down, from a peak of 1200, now at 811. I can feel my goal is getting closer 17:27:30
@_discord_231501123423436801:t2bot.iotetramir I have a C++ question, when I have a template class that is
template<typename T>
class MyClass : public BaseClass
{
17:42:18
@_discord_231501123423436801:t2bot.iotetramir * I have a C++ question, when I have a template class that is
template<typename T>
class MyClass : public BaseClass
{
  SomeStuff
}


Can I have a MyClass<int> that extends on SomeStuff ? Without re-implementing all of SomeStuff
17:43:26
@_discord_223743485956718593:t2bot.ioProject579 you can publicly inherit from SomeStuff as well 17:46:17
@_discord_223743485956718593:t2bot.ioProject579
template<typename T>
class MyClass : public BaseClass, public SomeStuff
{
};
17:47:10
@_discord_231501123423436801:t2bot.iotetramir I should have been more clear, my exemple is Bad, SomeStuff are function and members 17:48:04
@_discord_231501123423436801:t2bot.iotetramir * I have a C++ question, when I have a template class that is
template<typename T>
class MyClass : public BaseClass
{
  int mMember1;
  char mAnotherMember;
  int someFunction();
}


Can I have a MyClass<int> that extends on SomeStuff ? Without re-implementing all of SomeStuff
17:48:32
@_discord_231501123423436801:t2bot.iotetramir * I have a C++ question, when I have a template class that is
template<typename T>
class MyClass : public BaseClass
{
  int mMember1;
  char mAnotherMember;
  int someFunction();
}


Can I have a MyClass<int> that extends on SomeStuff ? Without re-implementing all of MyCLass<T>'s functions
17:48:53
@_discord_231501123423436801:t2bot.iotetramir * I have a C++ question, when I have a template class that is
template<typename T>
class MyClass : public BaseClass
{
  int mMember1;
  char mAnotherMember;
  int someFunction();
}


Can I have a MyClass<int> that extends on MyClass<T> default members and methods? Without re-implementing all of MyCLass<T>'s functions
17:49:21
@_discord_549835822111916036:t2bot.ioelsid#8092
struct BaseClass {};

template <class T>
struct MyBaseClass : BaseClass {};

template <class T>
struct MyClass : MyBaseClass<T> {};

template <>
struct MyClass<int> : MyBaseClass<int> {};
17:54:24
@_discord_549835822111916036:t2bot.ioelsid#8092 But do you really need inheritance? 17:54:54
@_discord_223743485956718593:t2bot.ioProject579 or just use a functional approach instead of an object oriented one, that's more C++ish 17:55:34
@_discord_223743485956718593:t2bot.ioProject579Redacted or Malformed Event17:56:53
@_discord_223743485956718593:t2bot.ioProject579
template<typename T>
class MyClass 
{
  T mMember1;
  char mAnotherMember;
};

class MyClass2 : public MyClass<int>
{
   int mThirdMember
};

template<typename T>
T someFunction(MyClass<T>& p) {
  return p.mMember1 + p.mAnotherMember;
}

int someFunction(MyClass<int>& p) {
return  p.mMember1 * p.mAnotherMember;
}

int someFunction(MyClass2& p) {
return  p.mMember1 * p.mAnotherMember + p.mThirdMember;
}
18:04:29
@_discord_223743485956718593:t2bot.ioProject579 Not the best example but that would be the idea 18:04:43
28 Sep 2022
@_discord_859964198297534465:t2bot.iogeobuzdek#8120 changed their display name from ywebsol#8120 to geobuzdek#8120.04:07:12
@_discord_859964198297534465:t2bot.iogeobuzdek#8120 changed their profile picture.04:07:18
@_discord_232158885312462848:t2bot.ioAbdu Where was that? Reddit or the forums? 09:42:34

There are no newer messages yet.


Back to Room List