« first day (1204 days earlier)      last day (3746 days later) » 

3:01 PM
uuuuu, Emission / Transmission is already more than I have, so I don't know :)
 
user3010322
Oh. Well what other stuff do you have? :o
 
@BartekBanachewicz because obviously you prefer to just run out of space without any way to redeem the situation:)
 
@sehe I booted a liveCD
"no sorry fuck you"
 
I only have matte materials with ambient / diffiuse BRDFs (Lamberatian), that's about it
 
user3010322
Ah, hokay.
 
3:05 PM
okey i have my DB exam sample
 
user3010322
You keep saying BRDFs, do you mean like
 
user3010322
each material gets its own lighting equation?
 
the one tomorrow will most probably be exactly the same
 
user3010322
Or all they run through the same lighting equation with certain parameters 1'ed or 0'ed out to make them not do anything?
 
each material gets its own lighting equation
let me give you an example...
(you need to read the Nicodemus paper)
 
user3010322
3:07 PM
;~;
 
user3010322
I tried. I only made it a few pages, and I'm not sure I understood it all. ;~;
 
yeah all those letters
 
user3010322
srsly
 
Is there a name for a partitioning tree with always k children? (a generic name for quadtrees, hextrees, binary trees)
 
user3010322
3:08 PM
k-ary tree?
 
this exam has the answers
 
I'm such a misogynist ^^
 
@ThePhD thanks
 
user3010322
Am I not allowed to have std::array in a union?
 
@ThePhD yes
 
3:10 PM
hm
 
@ThePhD As long as the T in array<T> is pod.
 
@ThePhD why are you using unions uh
 
user3010322
Hm.
 
seriously usecases of unions are so awfully limited
 
they exist
 
3:11 PM
yeah, but he's obviously fixed mindset on that
 
user1804599
Neo4j is cool.
 
user3010322
@StackedCrooked T right now is float. It's behaving strangely, and a struct that's meant to be a pod that has that inside of it is making some obscure error about constructors (for which there is none =[)
 
You can use static_assert(std::is_pod<my_struct>::value, ""); to verify pod-ness.
 
user3010322
Hm. Okay.
 
This will at least eliminate one potential source of errors.
 
3:13 PM
hmm
lubuntu 13.10 has GHC 7.6 in repos
 
user3010322
Oh gawd what have I done modifying that file changed everything full recompilation u.u
 
@ThePhD oh right C++ master race
 
user3010322
WELP time to go do something not programming for a while.
 
okey
ghc installed, time for a vm snapshot
 
user3010322
@ScarletAmaranth Do your lights have BRDFs / materials?
 
user3010322
3:16 PM
Or do the lights just have a basic "color" that's attached with it?
 
that's called "albedo"
 
@ThePhD my lights basically just contain color information (and direction / location) for directional / point lights
 
user3010322
What kind of color information?
 
color of the light
 
user3010322
Ooh. Okay.
 
3:22 PM
I was about to giv eyou code for sade() of my matte but it wouldn't tell you much
 
user3010322
I thought you might put more stuff in that struct.
 
I might at some point later, I go very incrementally
 
user3010322
Ah.
 
user3010322
Alrighty.
 
I devise literally everything myself
I had no prior knowledge of any form of rendering
 
user3010322
3:24 PM
The only way to do it ~♡
 
what's the best terminal emulator on linux
 
user3010322
None?
 
@ThePhD what?
 
user3010322
@StackedCrooked So far, it's evaluating to being a PoD. I guess the union is just making c-style initialization a bit hard to atually do.
 
user3010322
@BartekBanachewicz Just messing with you~ ♪
 
3:27 PM
@ThePhD not that I ever accused you of being actually helpful with anything
 
user3010322
Yeah, I am pretty bad. u.u
 
@ThePhD messing with @Bartek is fun.
 
-2
Q: Why file isn't opening C++?

Afzaal Ahmad ZeeshanI am trying this code for a few first times only. I am not able to get to the root of the error. Here is the code: #include "stdafx.h" #include <iostream> #include <fstream> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { fstream file; file.open("C:\\Users\\AfzaalAhmad\\...

lol?
 
user3010322
@LightnessRacesinOrbit Imagine a whole university full of people like this. <_>
 
@LightnessRacesinOrbit I've often pondered having a total novice code review stuff. the things he points out may be very amusing and would give opportunity to help him as well
 
user3010322
3:46 PM
Hey, guys
 
user3010322
For vectors v and u, would it be bad to define v ^ u in C++ to mean cross( v, u ) ?
 
vOv, I use crossProduct() :P
 
user3010322
I know, I do too. I just wanted to know if it would be something other programmers would consider bad to have as an option.
 
user3010322
Or rather, I just use cross( v, u ) or v.cross( u )
 
@ThePhD * is your dot product?
 
user3010322
3:49 PM
@doug65536 * is scalar multiplication: if you want dot, you have to call it explicitly, like cross at the moment.
 
user3010322
That was part of my next question: is there any symbol you'd think would be remotely good for the dot product?
 
you use dot a lot more than cross
 
@ThePhD v.cross(u) is kinda ew
 
user3010322
@melak47 It's just member-friendly syntax, that's all.
 
@ThePhD it can be scalar and dot. it's scalar if the rhs is float, it's dot if the rhs is a vector - that's what I did
 
3:50 PM
well ,I don't want to cross my member thank you very much D:<
 
user3010322
Never cross the streams.
 
user3010322
@doug65536 I think... I'd find that behavior surprising. vOv
 
I defined multiplication of two vectors of same dimension to be component-wise, like HLSL does
 
@ThePhD I used % for cross product. I used ^ for memberwise product
 
user3010322
@doug65536 I don't want to use % for cross, as much as I'd like to, because I'm saving that for integer_vector modulo stuff.
 
user3010322
3:53 PM
I wanted touse ^ because it's a bitwise operator, which has no place for vectors and I thus wanted to consider it as "overloadable"
 
user3010322
But there's no other good unused bitwise operator for dot product. ._.
 
@ThePhD then why ask? you've already decided what you're going to do
 
user3010322
I was asking for other opinions. vOv
 
use ^ for component-wise exponentiation :D
 
user3010322
u.u gross
 
3:55 PM
@ThePhD I don't think I have ever seen vector modulo once in my life in a 3d engine
 
user3010322
I'll just keep it plain ol' freefunction cross and dot, maybe use @KonradRudolph's named operators for <cross> and <dot> or get even shorter names (if that's possible)
 
Pinging @R.MartinhoFernandes
Whatever his stupid chat name is :D
 
@ThePhD can you link the named operators again?
(or even you, @KonradRudolph ^^)
 
user3010322
 
thanks :)
 
user3010322
3:57 PM
@KonradRudolph It's got a dot in it.
 
@ThePhD what about vector tan? and vector atan? and vector cos? and vector pow? and vector floor? and vector ceil? come on, add the stuff you need
 
user3010322
@R.MartinhoFernandes
 
anybody here uses pixelmator?
 
user3010322
@doug65536 I need cross and dot, I use it a lot, so. u.u
 
user3010322
Hencewhy I asked.
 
3:58 PM
@ThePhD <x> and <o> ;-)
 
user3010322
@KonradRudolph I was actually thinking about <x>, but dropped it because I didn't have a good one for dot product.
 
user3010322
But, o does work pretty well!
 
Although I wouldn’t do that. <x> is borderline OK. <o> isn’t, I would assume that’s the function composition operator
 
named operators?
 
user3010322
@melak47 Yah. You can make your own named operators in C++. :D
 
user3010322
3:59 PM
@KonradRudolph Why would you assume <o> is function composition? o.0
 
user3010322
Is that like syntax in another language?
 
@ThePhD It’s the convention in mathematics
 
user3010322
Oooh.
 
user3010322
TIL.
 
@KonradRudolph Hi.
 
4:03 PM
@R.MartinhoFernandes Hi. So I tried your benchmarking library again and I got it to work, but only with manual hacks
 
@ThePhD you'll see soon, you CS now!
 
GCC or clang?
 
clang
the problem is that my clang++ needs additional parameters:
 
user3010322
@melak47 u.u
 
user3010322
CS makin' me cry.
 
4:04 PM
$ echo $CXX, $CXXFLAGS
clang++-3.4 -stdlib=libc++, -nostdinc++ -isystem /usr/local/lib/llvm-3.4/include/c++/v1
 
user3010322
No programming to do for a year.
 
user3010322
Gonna break my heart.
 
wut
Your install is broken.
 
and if I specify this in the ./benchmark call then the linking step fails
No, it’s not broken, it’s the recommended setting on Mac
 
-nostdinc++? Really?
That's something you use to build kernels and shit.
 
4:05 PM
the problem on Mac is that Apple installs their own, patched version of clang, and to avoid cross-talk between the Apple clang, your own clang, and the GCC, you need this
unfortunateluy
 
@R.MartinhoFernandes Well in this case you use it to avoid clang++ from including stdlibc++ in addition to libc++
 
Portage FTW. Thanks anyway. What of the linking?
 
@ThePhD @KonradRudolph this is neat :)
 
Well, you cannot specify -nostdinc++ during linking, it results in an error:
FAILED: clang++-3.4 -stdlib=libc++  -nostdinc++ -isystem /usr/local/lib/llvm-3.4/include/c++/v1 -Wall -Wextra -pedantic -Werror -std=c++11 -g -flto obj/examples/example1.o -o bin/examples/example1
clang: error: argument unused during compilation: '-nostdinc++'
 
user3010322
4:07 PM
@melak47 :D
 
Ah, that sort of thing.
 
I think the only fix is to allow specifying compiler and linker (flags) separately when bootstrapping the build script
something else though, concerning the benchmark itself
 
@KonradRudolph side note: giving a parallelism to -flto like this: -flto=4 results in much faster linking
 
It’s standard practice to interleave different benchmark calls to amortise the bias introduced by systematic variation of the machine load
@doug65536 that works? cor.
 
user3010322
Hm...
 
4:11 PM
@KonradRudolph yes, makes huge difference
 
user3010322
I'm not sure how much sense it makes to do component-wise division or multiplcation when you do v * u ...
 
user3010322
But, I do use it in a few places...
 
@KonradRudolph You mean ABABAB instead AAABBB for some benchmarks A and B?
 
@R.MartinhoFernandes Your code doesn’t seem to do this (= interleave benchmark calls). This biases the results dramatically
yes
 
user3010322
Hm.
 
user3010322
4:15 PM
I can slim this code down even further using some of Xeo's techniques...
 
user3010322
Hey, guys
 
user3010322
Does this code look like a duplicate of something that would be in the standard library?
 
user3010322
template <typename T>
T scalar_add( const T& left, const T& right ) {
	T r;
	for ( std::size_t i = 0; i < left.size( ); ++i ) {
		r[ i ] = left[ i ] + right[ i ];
	}
	return r;
}
 
for_each, transform?
 
user3010322
I guess I'll have to make iterators for my vectors.
 
4:19 PM
add std::array<T,N> to your union and you get begin/end iterators for free
 
@KonradRudolph Good point. Maybe I should add an option to pick between the two? Would autocorrelation help in estimating that bias?
 
@ThePhD yeah, just in case you need an 8 element vector right -_-
 
@R.MartinhoFernandes It might, but I’m not sure. I don’t feel confident judging these quite subtle statistical arguments ;)
 
user3010322
@doug65536 I have 1, 2, 3, 4 sized vectors, and 9, 16 sized matrices. Yeah, I'll need it.
 
@ThePhD also, component-wise addition for vectors should really be +...
 
4:21 PM
@ThePhD that stuff is going to be called billions of times. have fun with performance
 
user3010322
Not tested on VC++...
 
user3010322
Well, here goes.
 
user3010322
But, shiny BSD license.
 
Oh, right. That thing.
 
user3010322
4:24 PM
It's my reality until I make Visual GCC dance with me and DIrectX.
 
I guess the C++98 version is very likely to work anyway.
 
user3010322
Well, thanks for sharing that.
 
user3010322
I'm not sure if it qualifies for what I'm actually trying to do, though.
 
user3010322
My current goal is reducing the size of the code dramatically.
 
uh
I can't save my xcom games.
if I try to write a new save nothing happens; if I try to overwrite an old save the old save is lost too.
 
user3010322
4:31 PM
I wonder
 
user3010322
If it would be possible to make a Vector<T, n> class so I wouldn't have to stamp out individual Vector2/3/4 templates...
 
user3010322
My primary concern is that, based on member templates, I can't really... do things like have members .x, .y, .z, or .w when I do that...
 
does this mean that lambda captures by value implicitly forward ?
 
@ThePhD I was wondering the same thing
 
@doug65536 No, they only copy.
@ThePhD You can.
 
user3010322
4:33 PM
@R.MartinhoFernandes How? I can't iterate over n and then dump out an x or a y, or a z, depending on where I'm at, I don't think?
 
specialize?
 
user3010322
... Unless, anonymous templated struct? o.0
 
user3010322
@DeadMG Specializing is what I do now, and I stamp out Vector2, 3, 4, etc.
 
user3010322
I want to write Vector<T, n> vec and get vec.w if n == 4
 
yes, it's called a "partial specialization".
 
4:35 PM
template <> struct vector_member<T, 0> { T x; }; // and so on ...
template <typename T, int... I> struct vector_members<T, indices<I...>> : vector_member<T, I>... {};
template <typename T, int N> struct vector : vector_members<T, MakeIndices<N>> {};
Undefined primary templates omitted.
 
user3010322
Ah.
 
user3010322
That makes it impossible for me to union the member data with a std::array or something, but I can live with that I guess.
 
user3010322
Do some funky array casts 'n' stuff.
 
It's still pointless, I think.
 
user3010322
Is it?
 
4:37 PM
@R.MartinhoFernandes ok, so the auto-generated move constructor for the lambda in dostuff must have moved when passing the rvalue to std::async's constructor then upd
 
@doug65536 Yes.
 
user3010322
I mean, the idea is that maintaining Vector2, 3, and 4 when the algorithms underneath are exactly the same for all 3 of them. So I thought I could benefit from making some simplifications and using some better templates. Or something.
 
user3010322
.... Ooh, maybe, just maybe, I can have an anonymous templated struct that stamps itself out for the members?
 
user3010322
I wonder if that's possible, I should try it!
 
@ThePhD Well, 1) because I'm not too sure the world needs the three thousand five hundred and thirty fourth vector math library, and 2) because it's a lot of hoops for nothing but syntax.
 
user3010322
4:42 PM
@R.MartinhoFernandes Shrug. I've been doing this to learn, and if the two ladies I met yesterday don't dismiss me as crap, I will be charged to teach them the same. If I can't figure something like this out, I'm not sure I can call myself good enough at C++ to be teaching people even the little I do know.
 
user3010322
That, and uh.
 
user3010322
I love syntax. <3
 
@ThePhD AFAIK, the reason you often see separate Vector2/3/4 is because that is an extremely hot code path, and you want the compiler to be able to make assumptions about everything and be able to trivially inline it.
 
@doug65536 Templates enable exactly that vOv
 
user3010322
@doug65536 It follows along the same line that a template <std:size_t n> should allow that same compiler optimizations.
 
user3010322
4:45 PM
How I'm going to pick which SIMD operations to do, uh. Well, I can figure that out with more templates later.
 
user3010322
simd<T, n>( data ) and shit, maybe
 
user3010322
Is struct : base {} _; possible?
 
I don't want to compiler to even remotely consider using a loop counter, memory addressing modes, and compare and branch in a vector3 implementation
 
user3010322
Where the struct is actually nameless?
 
@doug65536 Why would it?
 
user1804599
4:47 PM
Yes, but you cannot define a ctor or a dtor because C++ is terrible.
 
@R.MartinhoFernandes how would you address the vector components in a Vector<int N>
 
user3010322
vec[0] = x, ...
 
user3010322
You then do algorithms on it assuming n is the limit and loop from 0 to n.
 
user3010322
Because int N is a compile-time constant, the loop can be easily unrolled by any compiler this side of the millenia.
 
@ThePhD key words: can be
 
user3010322
4:48 PM
Once its unrolled, it's fair game for all the other optimizations that come with a sequence of like instructions.
 
@doug65536 It's not the 90s anymore.
 
user3010322
@doug65536 Well, it is for any number N
 
No point in caring about GCC 2, or whatever.
 
@R.MartinhoFernandes you implicitly trust the compiler to register allocate an array?
 
@doug65536 The reason you see different implementations is that 1) vec2, vec3, and vec4 have different behaviour, and 2) you need different SIMD instructions.
 
user3010322
4:49 PM
I think if I can wrap up the libsimdpp well enough in some templates,
 
user3010322
I can gain maximal performance and also very easy to maintain vector code.
 
user3010322
I'll have also gone almost as far as is possible to learn everything about this kind of stuff.
 
@doug65536 Of constant size 4? Yes.
You might be surprised and even find out it auto-vectorised it because it wasn't MSVC.
 
@doug65536 obviously
 
user3010322
MSVC does some vectorization, IIRC, but it's still pretty bad at recognizing stuff (I remember Mysticial's code was hammered in a lot of places).
 
4:52 PM
This "trust the compiler to" mindset is wrong. The right mindset is "require the compiler to". It's its job, and if it doesn't do it, you should be complaining.
 
Oh dear, you got exactly what i was try to achieve and present a very smart way to do that. Thank you very much, but it seems that i need more knowledge about boost variants and type traits to understand this implementation in detail. Do you know about good tutorials for these topics? — cguenther 2 hours ago
That's always nice. I'm not completely sure my solution matches his ideas (for the simple reason he was focusing on virtual interfaces, but perhaps that was completely unnecessary)
 
If you start by not trusting the compiler to do those things, when will you ever know if it does?
 
@R.MartinhoFernandes if it wasn't such an extremely critical code path, I definitely wouldn't be trying to "take it easy" on the compiler so much.
 
Personally, I think hocus pocus performance decisions are the worst exactly in extremely critical code paths.
 
@doug65536 you know, nothing prevents you from doing performance measurements. Hell, you can even inspect the generated code
 
4:55 PM
@R.MartinhoFernandes a loop is the last thing that I would want in a vector operation, why would I tell the compiler to do a loop - that's my reasoning
 
You're not telling the compiler to do a loop.
That's the mindset you need to leave.
Those times are gone.
 
^^ that
 
so you are claiming that the best vector implementation uses a bunch of complicated metaprogramming tricks? and that will result in the best code generation?
 
You don't tell the compiler how to generate executables. It knows that business.
@doug65536 I'm claiming the best one doesn't do blind optimisations.
 
Okay, there's officially something shitty about SO the last few days: /cc @LightnessRacesinOrbit
 
4:57 PM
(Especially if based on FUD; templates enable more assumptions and more inlining opportunities than other features of C++)
 
@R.MartinhoFernandes it's primarily based on the fact that Vector<3> is the one I call billions of times
 
So what.
The only thing that establishes is that you need to care about it.
 
user3010322
Huh
 
the compiler doesn't necessarily generate worse code, because you use it a lot.
That's irrational
 
user3010322
This anonymous deriving struct stuff really fucks up intellisense / VAX.
 
5:00 PM
Caring about it doesn't mean writing code based on unknowns.
 
Oh. I was completely underwhelmed by VAX
 
@sehe I see what you did there
 
user3010322
@sehe VAX really just makes intellisense "up to decent".
 
user3010322
It's not like C# + R#s "HOLY TITTIES!"
 
@ThePhD Oh well. I'll take your word for it. In my mind it just had many distracting bells and whistles for almost no gain: intellisense isn't my thing (I like Vim's completion), and the refactorings didn't appear to work too well
 
user3010322
5:02 PM
The refactoring features is actually primarily why I use it: it's currently working better than VS 2013's built-in refactor, though that might change if Microsoft can keep working on that Refactor tool they put out.
 
user3010322
Being able to say "Move all this code to an implementation file" is pretty neat as well, albeit it takes the Java/C# approach of demanding the header file name matches the .cpp name when it's moving implementation, otherwise it'll ask you to make the file.
 
1
Q: Tag search broken today?

Thomas W.I can search for [C#] on Stackoverflow, but searching for [windbg] doesn't give any results.

 
user3010322
Oh man.
 
user3010322
I forgot how to do compile-time index-based inheritance recursion.
 
user3010322
5:10 PM
Blah.
 
user3010322
@R.MartinhoFernandes I'm goofing up a bit. I think I'm defining the wrong base case?
 
user3010322
template <typename T, typename TAny>
struct vector_members { };

template <typename T, ulword... I>
struct vector_members<T, indices<I...>> : vector_member<T, I>... {};

template <typename T, ulword n>
struct make_vector_members : vector_members<T, make_indices<n>> {};
 
Don't define it. template <typename T, typename TAny> struct vector_members; Seems ok otherwise.
Well, and goddamn ints.
 
user3010322
Why not std::size_t's?
 
user3010322
Hm...
 
user3010322
5:15 PM
"Has no member x" guess I'm doing it wrong.
 
user3010322
Awwww.
 
user3010322
An anonymous struct with base classes but no actual value doesn't stamp out the values like it would normally. =[
 
Because ints, that's why.
 
user3010322
I know the compiler resolves 1 and 34 and stuff to int but I thought it'd just make more sense to use unsigned stuff.
 
user3010322
Yeah, it seems like the anonymous struct hack ain't cuttin' it this time...
 
user3010322
5:20 PM
Bleh.
 
user3010322
If anyone wants to play with it to see if the desired syntax can be achieved: coliru.stacked-crooked.com/a/3a68767675822d58
 
user3010322
Ooh, question!
 
user3010322
Can, like, a class union with certain bases?
 
user3010322
Or am I going to LaLa land again?
 
5:26 PM
you do that every time you mention the word "union".
 
user3010322
=[
 
user3010322
Well, to be fair, I can just drop the std::array bit altogether, make cell into cell() that returns the class aliased into a 4-float c-array, and then make do with that.
 
user3010322
Arrgh, but no!
 
user3010322
I lose the ability to swizzle!
 
still UB but hey
 
user3010322
5:32 PM
WargagajgGHAJGA
 
huh
pushing "Esc" in starbound and bringing up the game's menu doesn't pause it...?
 
user3010322
@DeadMG It can't be that bad. :c
 
user3010322
It's 4 floats in a PoD. If I get a pointer to the first float and then read 4 floats, it can't be that horrendous, can it?
 
yes.
 
user1804599
Do not do that.
 
user3010322
5:35 PM
I don't have many other options at this point. ._.
 
the real issue is that you want too much from the interface because you can't decide what it should be.
I never had a problem with a simple float x; float y; float z; in my 3d vector class.
 
user3010322
I'm trying to reduce code cruft by making a Vector<T, n> class.
 
user3010322
So I have to stamp out the "x, y, z" using base classes, but I also want to have the std::array there so I can just use its .data() and .begin() and .end() stuff for std:: functions.
 
Is there a reason for you to use member access instead of operator[]?
 
user3010322
Member access is for code out in the world that directly interfaces with x, y, and z (and w).
 
5:39 PM
You can probably make arf[x] work.
 
user3010322
That looks dangerous, yet attractive in its kinkiness.
 
@ThePhD I gave it a lot of thought to have Vec<n, T> and I figured it's more bother than use...
 
user3010322
 
user3010322
I get my xyzw rgba stuv names for coordinates / colors / texture-coordinates, and I get my lovely std::array to use with other stuff.
 
user3010322
Probably UB, but meh. I'll just keep track of clang, gcc's, and VC++'s stance on how they'd deal with code like that and adjust accordingly.
 
5:43 PM
@ThePhD You don't really need that.
 
user3010322
Well, it's questionable whether I'll need the std:: functions, yes, but the std::array is there so I can do things like loop over the class and implement algorithms in terms of iteration rather than statically writing by-hand the 2d, 3d, and 4d variants of it.
 
you're like
doing everything you do wrong
 
user3010322
vOv
 
you keep saying that people on your uni are so terrible but you're the kind of programmer I wouldn't want to meet in a new job
 
user3010322
Sorry.
 
5:47 PM
@ThePhD Alternatively, you could use a more functional approach.
 
@DeadMG wow
 
@ThePhD when does it make sense to iterate over xyzw ?
 
for example, you could do something like auto Apply(F f) { f(x); }, auto Apply(F f) { f(x); f(y); }.
etc.
 
I sure wouldn't want to meet a programmer who managed to finish a 3D engine and some other things no sir
 
user3010322
5:48 PM
@LoïcFaure-Lacroix Scalar multiplication, scalar addition, etc. Also writing cross product and dot product in terms of compoent x0, x1, ... xN
 
@CatPlusPlus there was the mentally ill guy that robot posted, who wrote his own OS in x64 assembly
now, dunno if you watched it or not
 
well you could have internally an array with x,y,z,w defined as properties that match to the array indexes
 
@ThePhD you should be using SIMD for that
iterating over vector components only makes sense if you're exploring n-dimensional mathematical models
otherwise manual unrollment is the best thing you can do if you can't use SIMD
 
@BartekBanachewicz can be useful to multiply with a matrix, actually a vector can be defined as a matrix
 
overgeneralizations in this regard don't help at all
 
5:51 PM
At the Brit, mark this day, Man. United were blown away:)
 
well, GLSL handles it quite nicely in that regard
 
@LoïcFaure-Lacroix glsl has a finite set of builtin types
not n,m-vectors
 
that covers almost all the possible sets of type you'd need including position.xz etc
@ThePhD why don't you just use GLM?
 
@LoïcFaure-Lacroix because it's a well-tested library written by someone that's competent
okay I'll stop now
time to add image comparison to Quant
 

« first day (1204 days earlier)      last day (3746 days later) »