Top Tweets for #IFDEF
#ifdef PRIVATE_DONT_OPEN_SOURCE
Jokes aside, a trusted open source hoster should be able to provide provenance for the binaries in production. I don't know if this is actually feasible technically - seems unlikely without hardware support.
Next month, every line of code touching the 𝕏 system will be open source and third-party audited.
Only total transparency deserves trust.
#ifndef __VFORCE_H
#define __VFORCE_H
#ifdef __cplusplus
#include <ciso646>// Get library version.
#ifdefined _LIBCPP_VERSION
// When using libc++, include <complex>.
#include <complex>
#else
// When not using libc++, try using definition as given in C++ 98.
namespace std
{
template<class T> class complex;
template<> class complex<float>;
template<> class complex<double>;
}
#endif
typedef std::complex<float> __float_complex_t;
typedef std::complex<double> __double_complex_t;
#else
typedef _Complex float __float_complex_t;
typedef _Complex double __double_complex_t;
#endif
#include <math.h>
#ifdef __cplusplus
extern "C" {
#endif
#if __has_include(<os/availability.h>)
# include <os/availability.h>
#else // __has_include(<os/availability.h>)
#if !defined API_AVAILABLE
#define API_AVAILABLE(...)
#endif
#endif // __has_include(<os/availability.h>)
#if !defined __has_feature
#define __has_feature(f) 0
#endif
#if __has_feature(assume_nonnull)
_Pragma("clang assume_nonnull begin")
#endif
/*! @abstract Calculates the reciprocal for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to 1/x[i].
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvrecf (float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the reciprocal for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to 1/x[i].
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvrec (double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the quotient of the two source vectors.
*
* @param z (output) Output vector of size *n. z[i] is set to y[i]/x[i].
*
* @param y (input) Input vector of size *n, numerators in division.
*
* @param x (input) Input vector of size *n, denominators in division.
*
* @param n (input) The number of elements in the vectors x, y and z. */
void vvdivf (float * /* z */, const float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the quotient of the two source vectors.
*
* @param z (output) Output vector of size *n. z[i] is set to y[i]/x[i].
*
* @param y (input) Input vector of size *n, numerators in division.
*
* @param x (input) Input vector of size *n, denominators in division.
*
* @param n (input) The number of elements in the vectors x, y and z. */
void vvdiv (double * /* z */, const double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the square root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to sqrt(x[i]).
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvsqrtf (float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the square root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to sqrt(x[i]).
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvsqrt (double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the cube root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to cbrt(x[i]).
*
* @param x (input) Input vector of size *n.
*
![DrGhattasMD's tweet photo. #ifndef __VFORCE_H
#define __VFORCE_H
#ifdef __cplusplus
#include <ciso646>// Get library version.
#ifdefined _LIBCPP_VERSION
// When using libc++, include <complex>.
#include <complex>
#else
// When not using libc++, try using definition as given in C++ 98.
namespace std
{
template<class T> class complex;
template<> class complex<float>;
template<> class complex<double>;
}
#endif
typedef std::complex<float> __float_complex_t;
typedef std::complex<double> __double_complex_t;
#else
typedef _Complex float __float_complex_t;
typedef _Complex double __double_complex_t;
#endif
#include <math.h>
#ifdef __cplusplus
extern "C" {
#endif
#if __has_include(<os/availability.h>)
# include <os/availability.h>
#else // __has_include(<os/availability.h>)
#if !defined API_AVAILABLE
#define API_AVAILABLE(...)
#endif
#endif // __has_include(<os/availability.h>)
#if !defined __has_feature
#define __has_feature(f) 0
#endif
#if __has_feature(assume_nonnull)
_Pragma("clang assume_nonnull begin")
#endif
/*! @abstract Calculates the reciprocal for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to 1/x[i].
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvrecf (float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the reciprocal for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to 1/x[i].
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvrec (double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the quotient of the two source vectors.
*
* @param z (output) Output vector of size *n. z[i] is set to y[i]/x[i].
*
* @param y (input) Input vector of size *n, numerators in division.
*
* @param x (input) Input vector of size *n, denominators in division.
*
* @param n (input) The number of elements in the vectors x, y and z. */
void vvdivf (float * /* z */, const float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the quotient of the two source vectors.
*
* @param z (output) Output vector of size *n. z[i] is set to y[i]/x[i].
*
* @param y (input) Input vector of size *n, numerators in division.
*
* @param x (input) Input vector of size *n, denominators in division.
*
* @param n (input) The number of elements in the vectors x, y and z. */
void vvdiv (double * /* z */, const double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the square root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to sqrt(x[i]).
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvsqrtf (float * /* y */, const float * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the square root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to sqrt(x[i]).
*
* @param x (input) Input vector of size *n.
*
* @param n (input) The number of elements in the vectors x and y. */
void vvsqrt (double * /* y */, const double * /* x */, const int * /* n */) API_AVAILABLE(macos(10.4), ios(5.0));
/*! @abstract Calculates the cube root for each element of a vector.
*
* @param y (output) Output vector of size *n. y[i] is set to cbrt(x[i]).
*
* @param x (input) Input vector of size *n.
*](https://pbs.twimg.com/media/HOCbEC4WoAEv8Ae.jpg)
spent 6 hours debugging a race condition only to find i missed an #ifdef macro. rusts borrow checker would have caught this in seconds. hardware hacking is just software engineering with more solder fumes and existential dread. 📐🔌
@falco_girgis Thank you! And I probably wouldn't have gone for it without SH4ZAM's software backend. Combined with my enDjinn framework SH4ZAM allowed me to keep the dreamcast code completely undisturbed. Not a single #ifdef added!
https://t.co/0ykddYH8q4
ワイ、iOS素人
Xcode の Build Settings で INFOPLIST_PREPROCESS = YES を有効にすると、Info.plist 内で #ifdef が使えるようになると今知る
@dcuthbert @TimSweeneyEpic #ifdef is compile time.
And did you just try to school Tim Sweeney on programming?
Oh my!
@AnshumanKhanna5 To clarify, I saw someone write a header guard like this:
#ifdef __SOMELIB_H__
#define __SOMELIB_H__
void func(void);
#endif
And was then confused why the compiler was saying `func` didn't exist.
man claude really shits the bed on (1) undo/redo systems and (2) large blocks of code that have been #ifdef'd out
@SIGKITTEN Of course I do! I'm not... well, opinionated in that way. But give it a weekend, don't waste time now, because I am still trying to patch the sys calls for Bun and I would like to split the platform handlers more cleanly so you don't have to #ifdef your way around, ok?
@DeltaWave0x Permutations, mostly.
There is a lot of static branching (#ifdef) to turn a bool for example into two shaders that have no runtime checks (one shader for true, one for false).
Mostly tech debt, because dynamic branching on GPUs used to be prohibitively expensive.
i have a sort of 2-step approach for writing out kernels my team can use since i have access to h200s but b200 is quite costly for just debugging lol. so for memory bound stuff, i just develop on it then port to b200 later with some #ifdef here and there
will share b200 results tomorrow! im indeed using .cs lol, so looking forward to the improvement after catching up with sleep 🤣
Last Seen Hashtags on Sotwe
angelawhite
Seen from Saudi Arabia
绳艺摄影
Seen from United States
spankvn
Seen from Vietnam
naked
Seen from India
Momson
Seen from Thailand
diaperart
Seen from United Kingdom
momson()************* filter:native_video
Seen from Singapore
永田陽向
Seen from United Kingdom
Omegle() + filter:videos
Seen from Brazil
劇団あやめ
Seen from Japan
Most Popular Users

Elon Musk 
@elonmusk
241M followers

Barack Obama 
@barackobama
119.2M followers

Cristiano Ronaldo 
@cristiano
112M followers

Donald J. Trump 
@realdonaldtrump
111.8M followers

Narendra Modi 
@narendramodi
107.1M followers

Rihanna 
@rihanna
98M followers

NASA 
@nasa
92.2M followers

Justin Bieber 
@justinbieber
91.2M followers

KATY PERRY 
@katyperry
88.5M followers

Taylor Swift 
@taylorswift13
82.4M followers

Lady Gaga 
@ladygaga
73.9M followers

Virat Kohli 
@imvkohli
71.2M followers

Kim Kardashian 
@kimkardashian
70.2M followers

YouTube 
@youtube
68.7M followers

Bill Gates 
@billgates
64.3M followers

Neymar Jr 
@neymarjr
64M followers

The Ellen Show
@theellenshow
62.4M followers

CNN 
@cnn
61.8M followers

Selena Gomez 
@selenagomez
61.6M followers

X 
@x
60.8M followers

















